Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Cross-Platform Development => Topic started by: Fractux on August 07, 2005, 03:15:45 pm

Title: Compiling fs2_open - question
Post by: Fractux on August 07, 2005, 03:15:45 pm
When compiling a non-debug build of fs2_open, (fs2_open_r) the exe generated comes out to be 11.4MB, while the debud builds come out to about 13.5 MB.

Now I was looking at WM's old linux build and the non debug weighs in at 3.3 MB.

Is there another option I need to pass along in the command line when compiling?? Or is there another setting I need to change?

Cheers!
Title: Compiling fs2_open - question
Post by: taylor on August 07, 2005, 07:59:31 pm
It's just got debugging symbols in it still.  A good thing if you have problems since running the release build in gdb would actually produce useful results.  Normally not a problem though so just "strip fs2_open_r" and it should cut a nice chunck off of the file size.  Won't be any use to debug problems with but will save disk space and a little bit of memory during run.