12,964
回編集
93行目: | 93行目: | ||
cd build | cd build | ||
../glibc-x.xx/configure --prefix=<GLIBCのインストールディレクトリ> \ | ../glibc-x.xx/configure --prefix=<GLIBCのインストールディレクトリ> \ | ||
CC=/<GCCのインストールディレクトリ>/bin/gcc \ # GCCを指定する場合 | |||
CXX=/<GCCのインストールディレクトリ>/bin/g++ \ # G++を指定する場合 | |||
--host=x86_64-linux-gnu \ | |||
--enable-multi-arch \ # 32ビットを有効にする場合 | |||
--enable-stack-protector=strong \ | |||
--enable-add-ons=libidn \ | |||
--without-selinux \ # SELinuxが不要な場合 | |||
--with-binutils=<Binutilsのインストールディレクトリ> # 必要な場合 | |||
make -j $(nproc) | make -j $(nproc) |