X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=hints%2Famigaos.sh;h=e7686436913b72aa2ec5b70f1ab7d2bda4366e8f;hb=fdaee7fccceeabfa3b6031d9b791db38058c1234;hp=4108c2ecb81491baacc745f63c6f15631d72e498;hpb=1b3374cc62aa03a18646979ac5ddbdd3444d2d14;p=p5sagit%2Fp5-mst-13.2.git diff --git a/hints/amigaos.sh b/hints/amigaos.sh index 4108c2e..e768643 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' @@ -17,17 +16,13 @@ d_fork='undef' d_vfork='define' groupstype='int' -# the following is needed to prevent pdksh from blowing up - -i_neterrno='undef' - # libs libpth="$prefix/lib /local/lib" glibpth="$libpth" xlibpth="$libpth" -libswanted='gdbm m' +libswanted='gdbm m dld' so=' ' # compiler & linker flags @@ -35,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"'