GCC 3.3 compile speed regression - A QUESTION
Michael Matz
matz@suse.de
Wed Feb 12 10:56:00 GMT 2003
Hi,
On Wed, 12 Feb 2003, Lars Segerlund wrote:
> I am trying to build gcc for use with gprof, so far I haven't had any
> luck, have anybody done this ?
Sure, I've done this often. If you want to profile everything simply
configure with 'CFLAGS="-g -pg" ../gcc/configure ....'. Although I
usually configure normally, and then change either the toplevel Makefile,
or gcc/Makefile CFLAGS to "-g -pg". Then simply make (no need to
bootstrap). Bingo, a profilable cc1*
Ciao,
Michael.
More information about the Gcc
mailing list