13,009
回編集
27行目: | 27行目: | ||
LD_LIBRARY_PATH="" | LD_LIBRARY_PATH="" | ||
<br> | <br> | ||
ビルド用ディレクトリに移動して、ビルドおよびインストールを行う。<br> | |||
これで、インストールしたGLIBCにより、実行するアプリケーションをビルドすることができる。<br> | |||
cd build | cd build | ||
../glibc/configure CC=/home/<ユーザ名>/InstallSoftware/GCC/gcc-10_2_0/bin/gcc-10.2 --prefix=/home/<ユーザ名>/Installsoftware/GLIBC \ | ../glibc/configure CC=/home/<ユーザ名>/InstallSoftware/GCC/gcc-10_2_0/bin/gcc-10.2 --prefix=/home/<ユーザ名>/Installsoftware/GLIBC \ | ||
--host=x86_64-linux-gnu --enable-add-ons=libidn, --without-selinux --enable-stack-protector=strong --enable-multi-arch \ | --host=x86_64-linux-gnu --enable-add-ons=libidn, --without-selinux --enable-stack-protector=strong --enable-multi-arch \ | ||
--with-binutils=/home/<ユーザ名>/InstallSoftware/Binutils | --with-binutils=/home/<ユーザ名>/InstallSoftware/Binutils | ||
make -j 8 | make -j 8 | ||
make install | make install | ||
<br> | <br> |