This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Time taken by GCC 4.9.1 to compile
- From: Jeff Law <law at redhat dot com>
- To: Syed Ahsan Ali Bokhari <ahsan dot pmd at gmail dot com>, gcc-help <gcc-help at gcc dot gnu dot org>
- Date: Wed, 06 Aug 2014 09:31:58 -0600
- Subject: Re: Time taken by GCC 4.9.1 to compile
- Authentication-results: sourceware.org; auth=none
- References: <CAOjP03Uh6XuNLVeRdZnMpD5Q6bgDPi1MotRtYHopdUToGPy-pQ at mail dot gmail dot com>
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