delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1996/12/05/06:05:08

From: root AT jacob DOT remcomp DOT fr (root)
Subject: Re: Smallest program
5 Dec 1996 06:05:08 -0800 :
Sender: daemon AT cygnus DOT com
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <m0vVc3C-000ALAC.cygnus.gnu-win32@jacob.remcomp.fr>
Original-To: gnu-win32 AT cygnus DOT com
Original-Sender: owner-gnu-win32 AT cygnus DOT com

Thanks to all that replied.
It seems, that MSVC wins again. What was very interesting is the option that
allows the linker to MERGE two sections into one (sent by sandrof AT microsoft DOT com)

I was considering modifying my linker to do that, but the huge number of bugs
that I could introduce, and the sheer difficulty of assuring a 100% correct
result made me leave that for later... 

As the size of the 'hello.exe' from MSVC, it seems that I was linking the MSVC
library statically, so the size of the executable generated was much bigger
than it should have been.

gcc then, (using the minimalist version), achieves the same result (if I can
find the 32 bytes I'm adding somwhere... :-)

-- 
Jacob Navia	Logiciels/Informatique
41 rue Maurice Ravel			Tel 01 48.23.51.44
93430 Villetaneuse 			Fax 01 48.23.95.39
France
-
For help on using this list, send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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