On Thu, Mar 21, 2002 at 03:50:01PM -0300, Leandro Gustavo Biss Becker wrote: >Why make with --win32 option don't accept C:\cygwin\bin\g++.exe to build a >rule like this > >main.cpp : main.o > c:\cygwin\bin\g++.exe -g main.cpp > >The make gives the following error: > >make: C:\cygwin\bin\g++.exe: Command not found >make: *** [main.o] Error 127 > >But if I use: > >main.cpp : main.o > g++.exe -g main.cpp > >it works well ? > >PS.: I have this working at a long time ago, with a older cygwin1.dll. >Now I have the latest version of it and it don't work. (My system is W2K >SP2)
It's a bug in cygwin. It will be fixed in the next release. Until then, do this: main.cpp : main.o c:/cygwin/bin/g++.exe -g main.cpp ^ ^ ^ cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/