Mail Archives: djgpp/2003/06/01/11:00:16
Hi,
I'm using the latest version of DJGPP, including gcc and make. The
following, simple makefile doesn't work on my system (Windows XP). I
receive the same error every time: "make.exe: *** [hello.o] Error
-1". The gcc line works fine from my DOS command prompt if I type it
in directly.
I see in the readme file that accompanies Make that the new release
made some changes regarding shells and shell-spawning, and I wonder if
that might be the problem. I note that I cannot see any output from
gcc at all (not even with a simple "gcc -v"). The tail of the message
trail from a "make -d" is also listed below.
I am sure I am missing something very obvious. Any help would be
greatly appreciated -- thanks.
Nick
--MAKEFILE-------------
# Testing make
#
hello.o : hello.c
gcc -c hello.c
-----------------------
--MAKE -d' RESULTS-----
Must remake target `hello.o'.
gcc -c hello.c
Putting child 0x000d0968 (hello.o) PID 123 on the chain.
Live child 0x000d0968 (hello.o) PID 123
Reaping losing child 0x000d0968 PID 123
make.exe: *** [hello.o] Error -1
Removing child 0x000d0968 PID 123 from chain.
------------------------
- Raw text -