Time taken by GCC 4.9.1 to compile

Jeff Law law@redhat.com
Wed Aug 6 15:32:00 GMT 2014


On 08/05/14 23:49, Syed Ahsan Ali Bokhari wrote:
> I wonder how much time it takes to compile gcc-4.9.1. After "make" 2
> hours have been passed and still build underway.
It's highly dependent on your processor's speed and how many processors 
you have.

I've got one system here where it takes about a week (no testsuite).  On 
the systems where I typically do builds it's a couple hours (testsuite 
included).   I'd bet on David M.'s box it's probably less than 30 minutes ;)

Certainly if you have a multi-processor using the "-j #cpus" option to 
make will speed things up considerably.

jeff



More information about the Gcc-help mailing list