delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/06/01/11:00:16

From: strags11 AT yahoo DOT com (Nick)
Newsgroups: comp.os.msdos.djgpp
Subject: Simple (?) problem with djgpp/gcc/make
Date: 1 Jun 2003 07:50:36 -0700
Organization: http://groups.google.com/
Lines: 35
Message-ID: <1ba37fef.0306010650.10517f99@posting.google.com>
NNTP-Posting-Host: 151.204.223.28
X-Trace: posting.google.com 1054479037 12757 127.0.0.1 (1 Jun 2003 14:50:37 GMT)
X-Complaints-To: groups-abuse AT google DOT com
NNTP-Posting-Date: 1 Jun 2003 14:50:37 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019