summaryrefslogtreecommitdiff
path: root/hints
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>1999-07-14 21:59:11 +0000
committerJarkko Hietaniemi <jhi@iki.fi>1999-07-14 21:59:11 +0000
commit549a6b102c2ac8c43e32b815191190bc29aef348 (patch)
tree16371bf0a65e238e68327411cb8f20261ea5b5c0 /hints
parent0033605d21c115bf932c13b3219a6ea9a9088d20 (diff)
downloadperl-549a6b102c2ac8c43e32b815191190bc29aef348.tar.gz
Fixed AIX dynamic loading and AIX shared Perl library.
Tested in: AIX 4.1.5 cc+useshrplib+usethreads, 4.1.5 cc, 4.1.5 gcc+useshrplib+usethreads, 4.3.1 cc+useshrplib. Hijacked win32/makedef.pl for more general purpose export list building, now it is used (as toplevel makedef.pl) for win32 and AIX (perl_exp.SH made unnecessary). Because the export lists are now correct in AIX, no more linker warnings about "Exported symbol not defined" should appear. p4raw-id: //depot/cfgperl@3673
Diffstat (limited to 'hints')
-rw-r--r--hints/aix.sh11
1 files changed, 9 insertions, 2 deletions
diff --git a/hints/aix.sh b/hints/aix.sh
index e24874bc17..b6978dcc8c 100644
--- a/hints/aix.sh
+++ b/hints/aix.sh
@@ -61,7 +61,7 @@ case "$osvers" in
esac
so="a"
-dlext="so"
+dlext="o"
# Trying to set this breaks the POSIX.c compilation
@@ -128,6 +128,13 @@ $define|true|[yY]*)
# (e.g. pragma/overload core dumps)
# --jhi@iki.fi
cc=cc_r
+ if test ! -e /bin/cc_r; then
+ cat >&4 <<EOM
+For pthreads you should use the AIX C compiler cc_r.
+But I cannot find it in /bin.
+Cannot continue, aborting.
+EOM
+ fi
;;
'')
cc=cc_r
@@ -135,7 +142,7 @@ $define|true|[yY]*)
*)
cat >&4 <<EOM
For pthreads you should use the AIX C compiler cc_r.
-(now your compiler was '$cc')
+(now your compiler was set to '$cc')
Cannot continue, aborting.
EOM
exit 1