This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: Why make with --win32 option don't accept C:\cygwin\bin\g++.exe to build a rule?
- From: Christopher Faylor <cgf at redhat dot com>
- To: cygwin at cygwin dot com
- Date: Thu, 21 Mar 2002 22:50:59 -0500
- Subject: Re: Why make with --win32 option don't accept C:\cygwin\bin\g++.exe to build a rule?
- References: <001d01c1d109$34fd4950$d70610ac@lit.cefetpr.br>
- Reply-to: cygwin at cygwin dot com
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/