X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=hints%2Famigaos.sh;h=9d86e52bc03ca0758526b9a8e173a30da47f521e;hb=baed7233d4dfe516b6be04fb05fade5080a282e0;hp=5f10e1144d01d5768b631505ae55638350ce9d6e;hpb=0a051f4f5e731bb47ed1e4d5a583f98a0d519501;p=p5sagit%2Fp5-mst-13.2.git diff --git a/hints/amigaos.sh b/hints/amigaos.sh index 5f10e11..9d86e52 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,24 +30,22 @@ 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' - -# 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"' +# AmigaOS always reports only two links to directories, even if they +# contain subdirectories. Consequently, we use this variable to stop +# File::Find using the link count to determine whether there are +# subdirectories to be searched. This will generate a harmless message: +# Hmm...You had some extra variables I don't know about...I'll try to keep 'em. +# Propagating recommended variable dont_use_nlink +dont_use_nlink='define'