From 2e478bec8b4ded1b6cceb76fc9e90911f39fade9 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Fri, 30 Dec 2011 08:38:27 -0500 Subject: Add EGLIBC build notes. --- (limited to 'bootstrap-system-build-procedure.txt') 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 -- cgit v0.9.1