How long gcc builds on Linux?

Tim Prince n8tm@aol.com
Fri Oct 14 13:17:00 GMT 2016



On 10/14/2016 8:56 AM, Paul Smith wrote:
> On Fri, 2016-10-14 at 07:39 +0300, fedor_qd@mail.ru wrote:
>>>> Do 'make -j 2' to speed it up by running two jobs in parallel (or
>>>> replace 4 with a higher number depending on how many cores you
>>>> have).
>> make -j"n cores" was cause gcc build fail to me some time ago.
> It's worked fine for me for a number of releases now, since at least GCC
> 4.9 for sure.  But I'm building on GNU/Linux not Windows.
make -j 3 works well on cygwin/win8.1 for build (not check).  See my
recent testsuite posts for 6.2.1 (looks good) and 7.0 (gfortran broken).
Build takes about 4 hours on a slow laptop, make check about 35 hours
(and 7.0 requires some manual kills). 
Windows 10 doesn't appear capable of building natively; maybe it could
cross compile using the Ubuntu subsystem, but make check-c and check-c++
hang the linux subsystem.

-- 
Tim Prince



More information about the Gcc-help mailing list