| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| Message-ID: | <003a01c1d074$6018b420$d70610ac@lit.cefetpr.br> |
| From: | "Leandro Gustavo Biss Becker" <becker AT lit DOT cpdtt DOT cefetpr DOT br> |
| To: | <cygwin AT cygwin DOT com> |
| Subject: | Error using make.exe without bash shell |
| Date: | Wed, 20 Mar 2002 22:04:38 -0300 |
| MIME-Version: | 1.0 |
| X-Priority: | 3 |
| X-MSMail-Priority: | Normal |
| X-Mailer: | Microsoft Outlook Express 6.00.2600.0000 |
| X-MimeOLE: | Produced By Microsoft MimeOLE V6.00.2600.0000 |
Hi
I have a problem with make (2.79.1) and latest cygwin1.dll (Win 2000 SP2):
I have a makefile that looks like this:
OUTPUT=C:\cygwin\TesteGNU\TesteGNU.exe
OBJS=main.o
C:\cygwin\TesteGNU\TesteGNU.exe: $(OBJS)
C:\cygwin\bin\ld.exe -Bstatic -T C:\cygwin\lib\ldscripts\i386pe.xn \
-o $@ \
C:\cygwin\lib\crt0.o \
-LC:\cygwin\lib\gcc-lib\i686-pc-cygwin\2.95.3-5\ \
-LC:\cygwin\lib\ \
$(OBJS) \
-lstdc++ -lm \
C:\cygwin\lib\gcc-lib\i686-pc-cygwin\2.95.3-5\libgcc.a \
--start-group -lc --end-group \
C:\cygwin\lib\w32api\libkernel32.a \
C:\cygwin\lib\libcygwin.a \
C:\cygwin\lib\gcc-lib\i686-pc-cygwin\2.95.3-5\libgcc.a
main.o : main.cpp
C:\cygwin\bin\g++.exe -c -g -o$@ $<
When I run make file from DOS command line I got an error like this:
C:\cygwin\bin\g++.exe -c -g -omain.o main.cpp
make: C:\cygwin\bin\g++.exe: Command not found
make: *** [main.o] Error 127
but if I type C:\cygwin\bin\g++.exe --version at dos cmd line I got the
version like expected.
What can be ?
PS.:
The space before the compiler command line is a TAB and I already have this
makefile working at a past time.
Thanks in advance.
Leandro
--
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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |