This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: sizes of compiled files


Inferno wrote:
> 
> I was comparing sizes of a simple test c++ program compiled under cygwin
> with the mno-cygwin option and using visual c++.  The visual c++
> compiled version was 10 times smaller.  The cygwin file was 300000
> bytes.  the visual c++ one was 30000.  what is going on?
I would suspect that the smaller one was linked dynamically, the larger,
statically.

HTH,
--ag

> 
> Inferno
> 
> --
> "Life is the whim of several billion cells to be you for a while."
>                                             --Inferno

-- 
Artie Gold, Austin, TX
mailto:agold@bga.com or mailto:agold@cs.utexas.edu
--
"If you come to a fork in the road, take it." L. P. Berra


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]