This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Error using make.exe without bash shell
- From: "Leandro Gustavo Biss Becker" <becker at lit dot cpdtt dot cefetpr dot br>
- To: <cygwin at cygwin dot com>
- Date: Wed, 20 Mar 2002 22:04:38 -0300
- Subject: Error using make.exe without bash shell
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/