View previous topic :: View next topic |
Author |
Message |
atlanticat n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 20 Aug 2022 Posts: 13
|
Posted: Fri Jul 05, 2024 3:32 am Post subject: Compiling improvements |
|
|
Can Gentoo's compiler be switched to another compiler to speed up installations?
I know there is a fix to make Gentoo use all cores (EMERGE_DEFAULT_OPTS and MAKEOPTS) and another fix to have a server compile the code (distcc). |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
kimchi_sg Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
Joined: 26 Nov 2004 Posts: 3035
|
Posted: Fri Jul 05, 2024 10:19 am Post subject: Re: Compiling improvements |
|
|
atlanticat wrote: | Can Gentoo's compiler be switched to another compiler to speed up installations? |
If you look at the downloads page, you have a choice of GCC or LLVM+clang as default compiler in the stage 3 image at least for amd64.
Whether changing compiler will speed up anything is another story.
atlanticat wrote: |
I know there is a fix to make Gentoo use all cores (EMERGE_DEFAULT_OPTS and MAKEOPTS) |
They are options in make.conf file not "fixes".
atlanticat wrote: |
and another fix to have a server compile the code (distcc). |
The biggest "fix" is to compile on fast hardware. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
kimchi_sg Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
Joined: 26 Nov 2004 Posts: 3035
|
Posted: Fri Jul 05, 2024 10:45 am Post subject: clang |
|
|
for important differences between gcc and clang, please see wiki:
https://wiki.gentoo.org/wiki/Clang
not understanding them may break your system. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
pietinger Moderator
![Moderator Moderator](/images/ranks/rank-mod.gif)
Joined: 17 Oct 2006 Posts: 4842 Location: Bavaria
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|