hasting2 02/11/11 14:50:38
Modified: live/gcc3 build_gcc
Log:
Fixes so TOT will bootstrap The Apple Way(tm). FSF has added some
stuff that requires a working target compiler much earlier in the
process.
Revision Changes Path
1.65 +3 -1 src/live/gcc3/build_gcc
Index: build_gcc
===================================================================
RCS file: /cvs/Darwin/src/live/gcc3/build_gcc,v
retrieving revision 1.64
retrieving revision 1.65
diff -u -r1.64 -r1.65
--- build_gcc 2002/11/05 23:59:51 1.64
+++ build_gcc 2002/11/11 22:50:36 1.65
@@ -79,7 +79,8 @@
LIBSTDCPP_DYLIB_VERSION=A
LIBRARIES="libgcc.a libcc_kext.a libgcc_static.a libsupc++.a $LIBSTDCPP_DYLIB
libstdc++.a libcc_noc++.a"
TOOLS="gcc$SUFFIX g++$SUFFIX c++$SUFFIX c++filt$SUFFIX gcov$SUFFIX cpp$SUFFIX"
# c++3 must be after g++3 in the list
- CRTS="crtbegin.o crtend.o"
+ CRTS="crt2.o"
+ RANLIB_FOR_TARGET=`which ranlib`
# uncomment to speed up testing
#ENABLE_LANGUAGES="c++,c"
@@ -1229,6 +1230,7 @@
HOST_CC="cc -arch $arch -no-cpp-precomp" \
CFLAGS="${OPT_OVERRIDE:--O2} $CFLAGS" \
AR_FOR_TARGET=ar \
+ RANLIB_FOR_TARGET=${RANLIB_FOR_TARGET} \
CC="cc -arch $host -no-cpp-precomp" \
LIBGCC2_INCLUDES=-I$SRCROOT/gcc/cp/inc \
LIBGCC2_OPT="${OPT_OVERRIDE:--O2}" \