Update of /cvsroot/linux-vax/toolchain/scripts
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14094
Modified Files:
build_toolchain.sh
Log Message:
- Don't use build_toolchain.sh only for writing down how I manually
try to build GNU libc. Make it actually work.
- This doesn't mean that there's a working GNU libc for VAX right now :-(
Index: build_toolchain.sh
===================================================================
RCS file: /cvsroot/linux-vax/toolchain/scripts/build_toolchain.sh,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -d -r1.39 -r1.40
--- build_toolchain.sh 16 Dec 2005 11:25:09 -0000 1.39
+++ build_toolchain.sh 17 Dec 2005 18:51:53 -0000 1.40
@@ -643,17 +643,24 @@
#
# 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 \
- --enable-add-ons=linuxthreads \
+ CC="${TARGET}-gcc" "${GLIBC_SRC}/configure" \
+ --target="${TARGET}" \
+ --disable-sanity-checks \
+ --host="${TARGET}" \
+ --with-sysinclude="${LINUX_SRC}/include" \
+ --with-headers="${LINUX_SRC}/include" \
+ --disable-shared \
+ --enable-static \
+ --enable-add-ons=linuxthreads \
--without-fp -nfp
- make
+ #
+ # For now, try to build as much of GNU lobc as possible, then
+ # exit, because this won't work and thus there's no native
+ # compiler based on glibc...
+ #
+ make || true
+ echo "WARNING: This build is was faked to be okay" >&2
+ exit 0
fi
|