「DeveloperWiki:ツールチェーンのメンテナンス」の版間の差分

提供: ArchWiki
ナビゲーションに移動 検索に移動
 
(言語間リンクの追加)
1行目: 1行目:
 
[[Category:DeveloperWiki]]
 
[[Category:DeveloperWiki]]
  +
[[en:DeveloperWiki:Toolchain maintenance]]
 
This page is intended to contain all relevant information to bootstrap the toolchain on Arch Linux,
 
This page is intended to contain all relevant information to bootstrap the toolchain on Arch Linux,
 
including any issues that are expected to be found, as well as providing documentation on the build order
 
including any issues that are expected to be found, as well as providing documentation on the build order

2020年6月4日 (木) 11:14時点における版

This page is intended to contain all relevant information to bootstrap the toolchain on Arch Linux, including any issues that are expected to be found, as well as providing documentation on the build order when new versions of important toolchain packages are released.

The toolchain build order is as follows:

linux-api-headers -> glibc -> binutils -> gcc -> binutils -> glibc

Linux Api Headers

Provided by linux-api-headers.

It is the first step on the toolchain.

GNU C Library

Provided by glibc.

Second step of the toolchain, also, it needs to be rebuilt after a new gcc rebuild.

There are some packages that require a rebuild after a new glibc, regardless of a so bump, such as valgrind.

GNU Binutils

Provided by binutils.

Third step of the toolchain, also it needs to be rebuilt twice on new glibc releases and also after a new gcc release.

GNU Compiler Collection

Provided by gcc.

Last (or first) step of the toolchain, and vital to building its entirety. Its update triggers a binutils and glibc rebuild, as well as other packages, like linux itself and libtool

The kernel has a strict check on gcc configure flags. So, if any flags are changed between package releases, even if it is the same gcc version, a kernel rebuild is required.