LFS on Ubuntu(3) 一時的環境の構築 (Glibc-2.11.1)
$ tar -jxf linux-2.6.32.8.tar.bz2 $ cd linux-2.6.30.2 $ make mrproper $ make headers_check $ make INSTALL_HDR_PATH=dest headers_install $ cp -rv dest/include/* /tools/include
Glibc のインストール
// make の際に必要 # apt-get install gawk $ mkdir -v ../glibc-build $ tar -jxf glibc-2.11.1.tar.bz2 $ cd glibc-build $ case `uname -m` in i?86) echo "CFLAGS += -march=i486 -mtune=native" > configparms ;; esac $ ../glibc-2.11.1/configure --prefix=/tools \ --host=$LFS_TGT --build=$(../glibc-2.11.1/scripts/config.guess) \ --disable-profile --enable-add-ons \ --enable-kernel=2.6.18 --with-headers=/tools/include \ libc_cv_forced_unwind=yes libc_cv_c_cleanup=yes $ make // 長い(笑) $ make install
References
- Linux From Scratch - Version 6.5 第5章 一時的環境の構築
- LFS 5.7. Glibc-2.10.1 で glibc compile error
- Re: Problem compiling Glibc Lfs 6.5
- __sync_bool_compare_and_swap_4 とは何か?
- Re: Glibc make error
- Linux互換用クロス開発環境構築
- Error Compiling GCC: error: #error "glibc cannot be compiled without optimization"
- OpenBlockS を使おう!