Update of /cvsroot/linux-vax/toolchain/scripts
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4222
Modified Files:
build_toolchain.sh
Log Message:
- This is just to remind myself how to start building GNU libc.
Index: build_toolchain.sh
===================================================================
RCS file: /cvsroot/linux-vax/toolchain/scripts/build_toolchain.sh,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -d -r1.35 -r1.36
--- build_toolchain.sh 12 Dec 2005 13:17:49 -0000 1.35
+++ build_toolchain.sh 12 Dec 2005 21:53:17 -0000 1.36
@@ -242,6 +242,7 @@
BUILD_LD=1
BUILD_GCC1=1
BUILD_UCLIBC=0
+BUILD_GLIBC=0
BUILD_GCC2=1
GCC1_EXTRA_LANGUAGES=
case "${TARGET}" in
@@ -257,10 +258,12 @@
vax*linux-*)
GCC1_EXTRA_LANGUAGES=",c++"
KERNEL_ARCH=vax
+ BUILD_GLIBC=1
;;
vax*linux|vax*linux-gnu)
GCC1_EXTRA_LANGUAGES=",c++"
KERNEL_ARCH=vax
+ BUILD_GLIBC=1
;;
vax*netbsd)
KERNEL_ARCH=vax
@@ -615,6 +618,27 @@
#
+# Build GNU libc
+#
+if [ "${BUILD_GLIBC}" -ne 0 ]; then
+ # This is only here because I'd probably forget how I started
+ # to work on GNU libc. So this is my external brain...
+ #
+ # The --with-headers part is important, --with-sysinclude
+ # probably isn't...
+ CC=vax-linux-gcc ../../src/glibc/configure \
+ --target=vax-linux \
+ --disable-sanity-checks \
+ --host=vax-linux \
+ --with-sysinclude=/home/jbglaw/vax-linux/scm/test-for-glibc/src/linux/include \
+ --with-headers=/home/jbglaw/vax-linux/scm/test-for-glibc/src/linux/include \
+ --disable-shared \
+ --enable-static
+ make
+fi
+
+
+#
# Build binutils to run on the target system
#
pushd "${BINUTILS_NATIVE_BUILD}"
|