summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNorbert Pueschel <pueschel@imsdd.meb.uni-bonn.de>1997-04-08 22:01:45 +0200
committerChip Salzenberg <chip@atlantic.net>1997-04-07 00:00:00 +0000
commitfdaee7fccceeabfa3b6031d9b791db38058c1234 (patch)
treed75c7b8d1df59661029724fd22363819dbf0046c
parentbb7cd9e7d0c92580eb48816899db885db4d58b05 (diff)
downloadperl-fdaee7fccceeabfa3b6031d9b791db38058c1234.tar.gz
Fix dynamic loading (and argv[0]) under AmigaOS
private-msgid: 77724842@Armageddon.meb.uni-bonn.de
-rw-r--r--hints/amigaos.sh24
1 files changed, 7 insertions, 17 deletions
diff --git a/hints/amigaos.sh b/hints/amigaos.sh
index 57c7b62aeb..e768643691 100644
--- a/hints/amigaos.sh
+++ b/hints/amigaos.sh
@@ -8,7 +8,6 @@ cc='gcc'
firstmakefile='GNUmakefile'
usenm='true'
-usedl='n'
usemymalloc='n'
usevfork='true'
useperlio='true'
@@ -23,7 +22,7 @@ libpth="$prefix/lib /local/lib"
glibpth="$libpth"
xlibpth="$libpth"
-libswanted='gdbm m'
+libswanted='gdbm m dld'
so=' '
# compiler & linker flags
@@ -31,27 +30,18 @@ so=' '
ccflags='-DAMIGAOS -mstackextend'
ldflags=''
optimize='-O2 -fomit-frame-pointer'
+dlext='o'
+cccdlflags='none'
+ccdlflags='none'
+lddlflags='-oformat a.out-amiga -r'
# uncomment the following settings if you are compiling for an 68020+ system
+# and want a residentable executable instead of dynamic loading
+# usedl='n'
# ccflags='-DAMIGAOS -mstackextend -m68020 -resident32'
# ldflags='-m68020 -resident32'
-# uncomment the following line if you want dynamic loading and
-# a working version of dld is available
-
-# usedl=''
-# ccflags='-DAMIGAOS -mstackextend'
-# ldflags=''
-# optimize='-O2 -fomit-frame-pointer'
-# dlext='o'
-# cccdlflags='none'
-# ccdlflags='none'
-# lddlflags='-oformat a.out-amiga -r'
-
-# When AmigaOS runs a script with "#!", it sets argv[0] to the script name.
-toke_cflags='ccflags="$ccflags -DARG_ZERO_IS_SCRIPT"'
-
# Avoid telldir prototype conflict in pp_sys.c (AmigaOS uses const DIR *)
# Configure should test for this. Volunteers?
pp_sys_cflags='ccflags="$ccflags -DHAS_TELLDIR_PROTOTYPE"'