X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=hints%2Famigaos.sh;h=c5ba6ff5919d6448269068fa5ba78e1b986bc312;hb=8ed30cc1e47085c3ae66654e63971dec45c27ca8;hp=6c00d7638c65f4b3b160d5d03b9c9da66f729b1b;hpb=a3156fc308049f548fff2dc156ffab6b3688fec8;p=p5sagit%2Fp5-mst-13.2.git diff --git a/hints/amigaos.sh b/hints/amigaos.sh index 6c00d76..c5ba6ff 100644 --- a/hints/amigaos.sh +++ b/hints/amigaos.sh @@ -6,34 +6,50 @@ archname='m68k-amigaos' cc='gcc' firstmakefile='GNUmakefile' -ccflags='-DAMIGAOS -mstackextend' -optimize='-O2 -fomit-frame-pointer' +usenm='true' +d_fork='undef' # available but ENOSYS -usenm='y' usemymalloc='n' -usevfork='true' useperlio='true' d_eofnblk='define' -d_fork='undef' -d_vfork='define' groupstype='int' # libs -libpth="/local/lib $prefix/lib" +libpth="$prefix/lib /local/lib" glibpth="$libpth" xlibpth="$libpth" -libswanted='dld m c gdbm' +# This should remove unwanted libraries instead of limiting the set +# to just these few. E.g. what about Berkeley DB? +libswanted='gdbm m dld' so=' ' +libs='-lm' -# dynamic loading +# compiler & linker flags +# Respect command-line values. +ccflags="$ccflags -DAMIGAOS" +case "$optimize" in +'') optimize='-O2 -fomit-frame-pointer';; +esac dlext='o' +# Are these two different from the defaults? 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"' +# 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' + +# 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'