Lee Elliott writes:
> On Wednesday 13 August 2003 17:59, Martin Spott wrote:
> > "Jon Berndt" <[EMAIL PROTECTED]> wrote:
> > > Somehow I managed to build flightgear and end up with a 42 MB executable.
> > 
> > Did you try to strip that beast ?
> > 
> > Martin.
> > -- 
> >  Unix _IS_ user friendly - it's just selective about who its friends are !
> > --------------------------------------------------------------------------
> 
> The last time I looked (until just now) I was getting a 40+MB executable too.  
> However, the last one I did, yesterday with CXXFLAGs set up for an Athlon XP, 
> has come in at just 5.6MB.
> 
> Obviously, I'm totally ignorant as why this is:)

The "-g" flag (default) includes a lot of ascii debugging symbols.  If
you use a debugger to break at a specific place in the code or to
catch a segfault/crash having these debugging symbols included will
allow the debugger to tell you the source line and file of the crash
point (and the entire function call back trace.)  This is obviously
not needed by default.

Regards,

Curt.
-- 
Curtis Olson   IVLab / HumanFIRST Program       FlightGear Project
Twin Cities    curt 'at' me.umn.edu             curt 'at' flightgear.org
Minnesota      http://www.menet.umn.edu/~curt   http://www.flightgear.org

_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to