summaryrefslogtreecommitdiffstats
path: root/BeOS
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1999-03-24 17:48:12 (GMT)
committerGuido van Rossum <guido@python.org>1999-03-24 17:48:12 (GMT)
commit6b9da45969b639172430205869f553eca579f007 (patch)
tree47609230826e2224c2f05b8c500fc2f53a9f796b /BeOS
parente7de2061b405d93cd5fa55c553d6cfc51bfb853e (diff)
downloadcpython-6b9da45969b639172430205869f553eca579f007.zip
cpython-6b9da45969b639172430205869f553eca579f007.tar.gz
cpython-6b9da45969b639172430205869f553eca579f007.tar.bz2
Chris Herborth: the new compiler in R4.1 needs some new options to work...
Diffstat (limited to 'BeOS')
-rwxr-xr-xBeOS/ar-fake5
-rwxr-xr-xBeOS/linkmodule5
2 files changed, 8 insertions, 2 deletions
diff --git a/BeOS/ar-fake b/BeOS/ar-fake
index 687a9b5..b4f5996 100755
--- a/BeOS/ar-fake
+++ b/BeOS/ar-fake
@@ -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"
;;
diff --git a/BeOS/linkmodule b/BeOS/linkmodule
index 575f2bd..103882a 100755
--- a/BeOS/linkmodule
+++ b/BeOS/linkmodule
@@ -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)