This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
RE: Reducing compilation memory usage
- From: "John (Eljay) Love-Jensen" <eljay at adobe dot com>
- To: "Alejandro Pulver" <alepulver at FreeBSD dot org>, <gcc-help at gcc dot gnu dot org>
- Date: Thu, 17 Jan 2008 04:06:04 -0800
- Subject: RE: Reducing compilation memory usage
- References: <20080117001343.6c6b79d7@deimos.mars.bsd>
Hi Alejandro,
> 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.
Sincerely,
--Eljay