From: "Kevin Durda" Newsgroups: comp.os.msdos.djgpp References: <37B4E95F DOT 1EB8 AT iquest DOT net> Subject: Re: djgpp creating both a a.out and a.exe Lines: 22 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 X-Original-NNTP-Posting-Host: b-xliv.wincom.net Message-ID: <37b562da@news.wincom.net> Date: Sat, 14 Aug 1999 12:28:56 GMT NNTP-Posting-Host: news.wincom.net NNTP-Posting-Date: Sat, 14 Aug 1999 08:28:56 EST To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com What are you typing to compile your program? If you just type "gcc myprog.c" you will get and a.out and a.exe file. If you type "gcc myprog.c -o myprog.exe" you will only get a file called myprog.exe. Kev Jeremy Brown @iquest.net> <"peart2112 wrote in message news:37B4E95F DOT 1EB8 AT iquest DOT net... > 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? > > > Jeremy > > -- > "I can't pretend a stranger is > a long awaited friend."-Neil Peart > peart AT purdue DOT edu > http://expert.cc.purdue.edu/~brown6