X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f NNTP-Posting-Date: Sat, 10 Sep 2005 09:17:36 -0500 Date: Sat, 10 Sep 2005 10:18:00 -0400 From: Joe Wright User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: Re: Djggp doesn't work References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: Lines: 26 NNTP-Posting-Host: 69.143.13.12 X-Trace: sv3-MqlUFASBII29UF/fPzgmRWaEWUp0NLU5Sp4XACak4DQslX2+l41hUAagGYp2uU4Aalc7irMrBXNCCFw!CpcAlIg88chvqHLj3wEu0YsdvD3+9mSFfJIs6R0o/CCwFcHQGaZ99cNU5fdIlAxMfp3D94+LVgu0!QA== X-Complaints-To: abuse AT comcast DOT net X-DMCA-Complaints-To: dmca AT comcast DOT net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.32 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com jashgs7 AT jkhsduer DOT it wrote: > Hi all > I have a problem with djgpp gcc4.0.1 on win2003 > when I compile with gcc - c filename.c and all to place > when I try to compile with the option -o > gcc myprog.exe -o myprog.o > an error message that says appears: > C:\Djgpp\Myfile>gcc dat.exe -o dat.o > gcc.exe: dat.exe: No such file or directory (ENOENT) > gcc.exe: no input files > you know me to say the motive > the variable of system are planned correct > set djgpp=c:\djgpp\djgpp.env > path c:\djgpp\bin;%PATH% > Thanks It's order dependent: gcc -c myprog.c /* creates myprog.o */ gcc myprog.o -o myprog.exe The output file name must follow the -o option flag. -- Joe Wright "Everything should be made as simple as possible, but not simpler." --- Albert Einstein ---