This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How long gcc builds on Linux?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]