Chris Herborth: the new compiler in R4.1 needs some new options to work...

This commit is contained in:
Guido van Rossum 1999-03-24 17:48:12 +00:00
parent e7de2061b4
commit 6b9da45969
4 changed files with 266 additions and 254 deletions

View File

@ -57,7 +57,10 @@ build_lib() {
case $BE_HOST_CPU in
ppc)
AR_CC="mwcc -xms -export pragma -nodup"
case $(uname -r) in
4.0*) AR_CC="mwcc -xms -export pragma -nodup" ;;
*) AR_CC="mwcc -shared -export pragma -nodup" ;;
esac
GLUE_LOC=/boot/develop/lib/ppc
AR_GLUE="${GLUE_LOC}/glue-noinit.a ${GLUE_LOC}/init_term_dyn.o ${GLUE_LOC}/start_dyn.o"
;;

View File

@ -53,7 +53,10 @@ case $BE_HOST_CPU in
# Boy, do we need a lot of crap...
GLUE_LOC=/boot/develop/lib/ppc
GLUE="${GLUE_LOC}/glue-noinit.a ${GLUE_LOC}/init_term_dyn.o"
CC="mwcc -xms -export pragma -nodup"
case $(uname -r) in
4.0*) CC="mwcc -xms -export pragma -nodup" ;;
*) CC="mwcc -shared -export pragma -nodup" ;;
esac
;;
x86)

505
configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -120,7 +120,10 @@ AC_ARG_WITH(gcc, [--without-gcc never use gcc], [
ppc)
CC="mwcc -I$PWD/BeOS"
without_gcc=yes
OPT="-DUSE_DL_EXPORT -O7 -opt schedule604"
case `uname -r` in
4.0*) OPT="-DUSE_DL_EXPORT -O7 -opt schedule604 -export pragma" ;;
*) OPT="-DUSE_DL_EXPORT -O2 -proc 604e -export pragma" ;;
esac
CCSHARED=-UUSE_DL_EXPORT
LDFLAGS="$LDFLAGS -nodup"