Date: Tue, 12 May 1998 15:15:41 +0000 ( ) From: "Gurunandan R. Bhat" To: John Kismul Cc: djgpp AT delorie DOT com Subject: Re: Pure binary output with GCC In-Reply-To: <35586F33.13E8@bergen.mail.telia.com> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk > Is it possible to make GCC output pure binary files just like NASM does? To the best of knowlege, NASM outputs pure binary (I take it you mean .exe, right?) only for 16-bit code. DJGPP on the other hand is a 32-bit programming platform. If you do want to generate 32-bit exe's you will have to do a lot of housekeeping (create stack, transfer buffers,...) etc in your code. You can have a look at how crt0.s does this. I hope this helps