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: Tim Prince <n8tm at aol dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Wed, 06 Aug 2014 12:04:53 -0400
- 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> <53E24A6E dot 3080102 at redhat dot com>
On 8/6/2014 11:31 AM, Jeff Law wrote:
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
Nearly 4 hours to build C Fortran C++ on my Win8.1 4-core laptop. (with
"prerequisites" pre-installed). That's the worse case I encounter
routinely.
8 hours to run testsuite, with each language started in an independent
session. There are still occasional spurious time-outs and early
aborts. Attempting to run testsuite on faster Windows boxes is
counter-productive due to Windows holding files busy.
An obsolete linux box here will build and test in well under 2 hours.