This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Time taken by GCC 4.9.1 to compile



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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]