This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: How long gcc builds on Linux?
- From: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- To: Федор Стрижнев <fedor_qd at mail dot ru>
- Cc: gcc-help at gnu dot org
- Date: Thu, 13 Oct 2016 12:33:02 +0100
- Subject: Re: How long gcc builds on Linux?
- Authentication-results: sourceware.org; auth=none
- References: <hVbYsZbtVQJB.fHVBr6d4@smtp.mail.ru>
On 13 October 2016 at 11:23, <fedor_qd@mail.ru> 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).