[ros-dev] Re: [ros-svn] [ion] 14810: Change optimization settings for retail builds. Change to -Os for smaller executables which are not slower, and enable more advanced optimizations. funitatatime is already included by default in GCC 4.0. Strip debug info from retail builds, since we don't parse the symbols anyways. I hope these options don't break anything, they don't for me; Debugging is unaffected.

Jan Schiefer cheaterjs at gmx.de
Tue Apr 26 09:02:02 CEST 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Alex Ionescu schrieb:
> ion at svn.reactos.com wrote:
> 
>> Change optimization settings for retail builds. Change to -Os for
>> smaller executables which are not slower, and enable more advanced
>> optimizations. funitatatime is already included by default in GCC 4.0.
>> Strip debug info from retail builds, since we don't parse the symbols
>> anyways. I hope these options don't break anything, they don't for me;
>> Debugging is unaffected.
>>  
>>
> The direct result of this is that, for non-debug builds (which don't
> support reading data from symbols anyways, not even during bugcheck),
> the following data are now true:
> 
> 1) ntoskrnl is 612kb on my system, down from 1.5MB
> 2) win32k is 316kb on my system, down from 800kb
> 3) taskmgr shows 6% idle cpu time, down from 9%
> 4) memory usage shows 32MB, down from 40MB+
> 5) total ISO size is now 12.5MB, down from 14.2MB.
> 
> Booting up the system to be much faster and everything is more
> responsive, probably due to the smaller size and new optimizations.
> 
> Nothing has changed for DBG builds.
> 
> Best regards,
> Alex Ionescu

...
unicode: [CC] casemap.c
cc1: error: unrecognized option `-funit-at-a-time'
cc1: error: unrecognized option `-fweb'
...

My gcc version is:

gcc-Version 3.4.2 (mingw-special)

Greetings,
Jan Schiefer!


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCbdlazC00UKXFdVcRAhNCAJ4m52E2ChHtDVprARVn3tCRJO8wfACfTr+P
V0cx5gboJFqjyrBo0nBJtIQ=
=yBme
-----END PGP SIGNATURE-----



More information about the Ros-dev mailing list