Sender: nate AT cartsys DOT com Message-ID: <37B50568.4681761E@cartsys.com> Date: Fri, 13 Aug 1999 22:58:00 -0700 From: Nate Eldredge X-Mailer: Mozilla 4.08 [en] (X11; I; Linux 2.2.11pre6 i586) MIME-Version: 1.0 To: djgpp AT delorie DOT com Subject: Re: djgpp creating both a a.out and a.exe References: <37B4E95F DOT 1EB8 AT iquest DOT net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp AT delorie DOT com Jeremy Brown wrote: > > I have a problem, my djgpp creates both an a.out file and an a.exe > file. The a.out file doesn't work under windows so I want it so that it > just creates the a.exe to save on space. Any Suggestions? Read about the `-o' option in the GCC manual. Executive summary: `gcc -o foo.exe ...' will write the executable to foo.exe. The reason for the non-executable a.out is a long story which I don't feel like telling right now :) -- Nate Eldredge nate AT cartsys DOT com