This is the mail archive of the
mailing list for the GCC project.
Re: gcc compile time
On May 4, 2006, at 2:17 PM, Bill Cunningham wrote:
I used gcc-2.96 to compile gcc-3.4.6 core with the c++
It took almost if not two hours to compile and that was with these
make CFLAGS='-O' LIBCFLAGS='-g -O2'
LIBCXXFLAGS='-g -O2 -fno-implicit-templates' bootstrap
I want to cut down on compile time. Are there any options that can
You can use ccache to speed it up if you want to compile it over and
over again. You can use -O0, that's faster than -O2. Also, you can
install the new compiler, and then just use make instead of make
bootstrap, that's also faster. Plus, you could just use make all
instead, that's faster than bootstrap. And lastly, leaving out the -
g is also faster.