diff options
-rw-r--r-- | bootstrap-system-build-procedure.txt | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/bootstrap-system-build-procedure.txt b/bootstrap-system-build-procedure.txt index 89a01f8..71b84cb 100644 --- a/bootstrap-system-build-procedure.txt +++ b/bootstrap-system-build-procedure.txt @@ -108,4 +108,17 @@ Install Linux's headers for use by EGLIBC. $ make INSTALL_HDR_PATH=/tools/usr headers_install Configure and build a cross-compiling EGLIBC. - ... + $ cd .. + $ mkdir eglibc-build + $ cd eglibc-build + $ case $(uname -m) in + > i?86) + > echo 'CFLAGS += -march=i486 -mtune=native' > configparams + > ;; + > esac + $ ../eglibc-2.14/libc/configure --prefix=/tools/usr --host=${BBLL_TARGET} \ + > --build=$(../eglibc-2.14/libc/scripts/config.guess) --disable-profile \ + > --enable-add-ons --enable-kernel=3.1.6 --with-headers=/tools/usr/include \ + > libc_cv_forced_unwind=yes libc_cv_c_cleanup=yes + $ make -j 4 + $ make install |