www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/05/23/17:07:35

Date: Wed, 23 May 2001 17:06:54 -0400
Message-Id: <200105232106.RAA12641@envy.delorie.com>
X-Authentication-Warning: envy.delorie.com: dj set sender to dj AT envy DOT delorie DOT com using -f
From: DJ Delorie <dj AT delorie DOT com>
To: djgpp AT delorie DOT com
In-reply-to: <3b0c24a7$0$88180$2c3e98f8@news.voyager.net>
(jfanonymous AT nocrap DOT yah00 DOT com)
Subject: Re: DJGPP's compilation methods
References: <3b0c24a7$0$88180$2c3e98f8 AT news DOT voyager DOT net>
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> Does DJGPP really compile code into machine code?

Yes.

> I compile a simple "Hello World!" program, and it's 100k!

The FAQ tells you why.

> And once I opened up an executable to find some uncompiled asm. code in it!

This is a bug in DOS, not djgpp.  If you don't explicitly write data
to the file, DOS erroneously uses whatever happens to be there instead
of filling it with zeros or something.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019