On Thu, 2016-10-13 at 14:18 -0600, Martin Sebor wrote: > 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. The other thing to be sure of is that you're only building the front- ends you need. If you only need a C compiler and not C++, FORTRAN, Go, etc. then configure with --enable-languages=c.