Re: How long gcc builds on Linux?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10/13/2016 05:33 AM, Jonathan Wakely wrote:
On 13 October 2016 at 11:23,  <fedor_qd@xxxxxxx> wrote:
I build crosscompiler for arm on windows. Compiler builded and run on windows and produce code for arm. GCC build takes several hours, binutils build near 10 mins on my pc. It normal that build takes so many time? My hardware - athlon IIx3 2.9GHz, 8 gb ram. I build gcc started 5.1 till 6.2.

Yes, GCC takes much, much longer to build than binutils.

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).

I can build a cross-compiler on Linux (Binutils and GCC only, not
sysroot) in a few minutes on my laptop running Fedora 23.  I have
a Core i7 processor with 4 cores and use -j8.

But I recall Cygwin being painfully slow, especially when it came
to any sort of shell scripting.

Martin



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux