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

Reply via email to