RE: [Flightgear-devel] [Fwd: help]

2003-09-20 Thread Norman Vine
Erik Hofman writes:
 Norman Vine wrote:
  Erik Hofman writes:
  
 Tests have shown 
 that in-lining code doesn't make a huge difference (actually the code 
 might become slower ...) but it decreased the executable tremendously.
  
  
  IMO the jury is still out on this :-)
  
  Compiling with minimal inlining *will* decrease compile times and 
  IIRC was the prime motivator for those making the argument that 
  inlining doesn't do any good.
  
  statistics-like-code-can-be-tweaked-to-prove-anything'ly yr's
 
 True. But given that there was no noticeable effect I guess we're safe.

Unless someone literally follows your advice and removes all the 
inlined code that we currently have :-)

Cheers

Norman

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


Re: [Flightgear-devel] [Fwd: help]

2003-09-20 Thread Erik Hofman
Norman Vine wrote:

Unless someone literally follows your advice and removes all the 
inlined code that we currently have :-)
Now, that would be a waste of precious time :-)

Erik

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


Re: [Flightgear-devel] [Fwd: help]

2003-09-19 Thread Erik Hofman
Erik Hofman wrote:

Hi

I have the following questions about FlightGear-0.9.2. Could you please
help me to post the following information to the development group?
The questions are as follows:

In FlightGear-0.9.2, the file size of fgfs.exe I download from website
is 2,656 KB, but the size of the same file became 46,414 KB when I
compiled the source code with the Cygwin compiler under Windows 2000.
Could someone tell me how to optimize the compiling process? Could
someone tell how to compile the FlightGear source code to the MS Windows
binary version with the Cygwin compiler?


This looks like it is bloated with debug info, and maybe a case of 
including static libraries where dynamic libraries are available.
I was just realized there is another issue.
Most developers compile without in-lining any code. Tests have shown 
that in-lining code doesn't make a huge difference (actually the code 
might become slower ...) but it decreased the executable tremendously.

Try disabling in-lining during compile time.

Erik



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


RE: [Flightgear-devel] [Fwd: help]

2003-09-19 Thread Norman Vine
Erik Hofman writes:

 Tests have shown 
 that in-lining code doesn't make a huge difference (actually the code 
 might become slower ...) but it decreased the executable tremendously.

IMO the jury is still out on this :-)

Compiling with minimal inlining *will* decrease compile times and 
IIRC was the prime motivator for those making the argument that 
inlining doesn't do any good.

statistics-like-code-can-be-tweaked-to-prove-anything'ly yr's

Norman



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


Re: [Flightgear-devel] [Fwd: help]

2003-09-19 Thread Erik Hofman
Norman Vine wrote:
Erik Hofman writes:

Tests have shown 
that in-lining code doesn't make a huge difference (actually the code 
might become slower ...) but it decreased the executable tremendously.


IMO the jury is still out on this :-)

Compiling with minimal inlining *will* decrease compile times and 
IIRC was the prime motivator for those making the argument that 
inlining doesn't do any good.

statistics-like-code-can-be-tweaked-to-prove-anything'ly yr's
True. But given that there was no noticeable effect I guess we're safe.

Erik

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


Re: [Flightgear-devel] [Fwd: help]

2003-09-17 Thread Erik Hofman

Hi

I have the following questions about FlightGear-0.9.2. Could you please
help me to post the following information to the development group?
The questions are as follows:

In FlightGear-0.9.2, the file size of fgfs.exe I download from website
is 2,656 KB, but the size of the same file became 46,414 KB when I
compiled the source code with the Cygwin compiler under Windows 2000.
Could someone tell me how to optimize the compiling process? Could
someone tell how to compile the FlightGear source code to the MS Windows
binary version with the Cygwin compiler?
This looks like it is bloated with debug info, and maybe a case of 
including static libraries where dynamic libraries are available.

Try running:
strip -s fgfs
and could you provide the output of:
ldd fgfs
Regards,

Erik

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