How long gcc builds on Linux?

Paul Smith paul@mad-scientist.net
Fri Oct 14 12:57:00 GMT 2016


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.

> > 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.
> Is some tricks for build on Fedora or apt-get-install will be suffice?

Fedora is a separate GNU/Linux distribution, based on the Red Hat
package ecosystem (rpm, yum, etc.)  You don't use "apt" commands on
Fedora; apt commands are used in Debian and Debian-derived distributions
(like Ubuntu, etc.)



More information about the Gcc-help mailing list