Date: Sun, 5 May 1996 14:22:11 +0200 (IST) From: Eli Zaretskii To: Jeffrey Taylor Cc: djgpp AT delorie DOT com Subject: Re: Help with V2 needed In-Reply-To: <4mdd7p$20g@mark.ucdavis.edu> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On 3 May 1996, Jeffrey Taylor wrote: > : gcc -v -o hello.exe hello.c > > Try: > gcc -v hello.c -o hello > > gcc normally outputs COFF format, which stubify adds executable stub to > that loads a COFF executable to. Please guys and gals, before you post your reply, take a moment to test it and be sure that you don't post incorrect info, especially when the question is from an obvious new user of DJGPP. The above reply is INCORRECT! In DJGPP v2.0, when you say gcc -o prog prog.c gcc generates *both* `prog' and `prog.exe'; `prog' is a COFF file and `prog.exe' is a DOS executable. If you tell "-o prog.exe", only .exe is generated. (This is different from v1.x, where producing .exe was always a separate step.)