From: "Colin W. Glenn" Newsgroups: comp.os.msdos.djgpp Subject: Re: Am I forgetting an include or something? Date: Sun, 19 Jan 1997 23:13:43 -0600 Organization: Greater New Orleans Free-Net Lines: 21 Message-ID: References: NNTP-Posting-Host: sparkie.gnofn.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII In-Reply-To: To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp > | set djgpp=c:\djgpp\djgpp.env > | set path=c:\djgpp\bin;%path% > | redir -e %4.err gcc -o %4.exe -l -Wall -v %4.c > P.S., as.exe also produces the 'o' file, I used a undelete on the TMP dir and > it exists, so why does ld.exe fail? An ammendment is in order, if I change the following line: > | gcc -o %4.exe -l -Wall -v %4.c to: > | gcc -c %4.exe -l -Wall -v %4.c I get an OBJ file. Then I run link: > | gcc -c -l -Wall -v %4.o And I get an executable. Now I'm really puzzled.