delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/12/24/15:27:57

From: khan AT xraylith DOT wisc DOT edu (Mumit Khan)
Subject: Re: How do I link programs created with flex and bison.
24 Dec 1998 15:27:57 -0800 :
Message-ID: <Pine.SUN.3.93.981224165001.24048L-100000.cygnus.gnu-win32@modi.xraylith.wisc.edu>
References: <19981222213034 DOT 2843 DOT qmail AT findmail DOT com>
Mime-Version: 1.0
To: Tony Stratton <tonys AT apprentice DOT com>
Cc: gnu-win32 AT cygnus DOT com

On 22 Dec 1998, Tony Stratton wrote:

> I am attempting to link the programs with VC++ instead of gcc, because the resultant .exe is one-tenth the size.
> 

Interesting, since I get similar file sizes after I "strip" the GCC
created executables. The sizes are however quite a bit larger for C++ 
programs since we don't (yet) have a DLL for C++ runtime library.

  
  $ gcc -o foo foo.c
  $ striop foo.exe

or,

  $ gcc -s -o foo foo.c

Could you please check and see if you still get GCC created executables
that are 10 times larger than VC++ created ones?

Regards,
Mumit


-
For help on using this list (especially unsubscribing), 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