summaryrefslogtreecommitdiffstats
path: root/bootstrap-system-build-procedure.txt
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2011-12-30 08:38:27 (EST)
committer P. J. McDermott <pjm@nac.net>2011-12-30 08:38:27 (EST)
commit2e478bec8b4ded1b6cceb76fc9e90911f39fade9 (patch)
tree793891b004307e7bd492c8b30f48b979f4c3942f /bootstrap-system-build-procedure.txt
parent07e503f8490e6ec5e57102edad1213c342e7ec52 (diff)
Add EGLIBC build notes.
Diffstat (limited to 'bootstrap-system-build-procedure.txt')
-rw-r--r--bootstrap-system-build-procedure.txt15
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