Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Thu, 21 Mar 2002 22:50:59 -0500 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: Why make with --win32 option don't accept C:\cygwin\bin\g++.exe to build a rule? Message-ID: <20020322035059.GA26007@redhat.com> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <001d01c1d109$34fd4950$d70610ac AT lit DOT cefetpr DOT br> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <001d01c1d109$34fd4950$d70610ac@lit.cefetpr.br> User-Agent: Mutt/1.3.23.1i 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/