Author: robert
Date: 2005-02-19 06:34:47 -0700 (Sat, 19 Feb 2005)
New Revision: 265
Modified:
trunk/text/chapter06/10-libc/10-uclibc.txt
Log:
Ooops, we should be linking to /lib here.
Modified: trunk/text/chapter06/10-libc/10-uclibc.txt
===================================================================
--- trunk/text/chapter06/10-libc/10-uclibc.txt 2005-02-19 13:27:15 UTC (rev
264)
+++ trunk/text/chapter06/10-libc/10-uclibc.txt 2005-02-19 13:34:47 UTC (rev
265)
@@ -50,20 +50,17 @@
sed -e '[EMAIL PROTECTED]@DEVEL_PREFIX="/usr/"@g' -i .config &&
sed -e '[EMAIL PROTECTED]@KERNEL_SOURCE="/usr"@g' -i .config
-# Then build uClibc, and the utilities.
+# Then build and install uClibc.
make &&
-make -C utils
+rm include/{asm,asm-generic,linux} &&
+make install
-# Run the test suite if you like. Some tests may fail.
+# Then make and install the utilities.
-make -k -C test | tee make-test.log
-
-# Then install uClibc libraries, headers, and utilities (but not the kernel
-# headers). The readelf(1) supplied with uClibc gets built but not installed.
-
-rm include/{asm,asm-generic,linux} &&
-make install &&
+make headers &&
+make CC="gcc -Wl,--dynamic-linker,/lib/ld-uClibc.so.0 /lib/libc.so.0" \
+ -C utils &&
make -C utils install
# Install the man page for arc4random().
--
http://linuxfromscratch.org/mailman/listinfo/hlfs-book
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page