Reducing compilation memory usage
John (Eljay) Love-Jensen
Fri Jan 18 06:20:00 GMT 2008
> The strange thing is that when looking at options enabled at different
-O levels (trying to remove the ones that were using more memory),
ended up with a GCC 4.2.3 command-line that specified exactly all the
options enabled by -O2 (as listed in the manpage), and built. But ran
at the same speed as without them.
Which -O# level were you using in conjunction with the specified -f?
Keep in mind, that at -O0, all optimizations are disabled, and the -f to enable a particular optimization have no effect since all optimizations are disabled.
More information about the Gcc-help