X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=hints%2Famigaos.sh;h=9d86e52bc03ca0758526b9a8e173a30da47f521e;hb=baed7233d4dfe516b6be04fb05fade5080a282e0;hp=8328c8a3d34fa36dc6fd84f9c0a72eaead096b3f;hpb=55497cffdd24c959994f9a8ddd56db8ce85e1c5b;p=p5sagit%2Fp5-mst-13.2.git diff --git a/hints/amigaos.sh b/hints/amigaos.sh index 8328c8a..9d86e52 100644 --- a/hints/amigaos.sh +++ b/hints/amigaos.sh @@ -6,14 +6,8 @@ archname='m68k-amigaos' cc='gcc' firstmakefile='GNUmakefile' -ccflags='-DAMIGAOS -mstackextend' -optimize='-O2 -fomit-frame-pointer' +usenm='true' -cppminus=' ' -cpprun='cpp' -cppstdin='cpp' - -usenm='y' usemymalloc='n' usevfork='true' useperlio='true' @@ -24,20 +18,34 @@ groupstype='int' # libs -libpth="/local/lib $prefix/lib" +libpth="$prefix/lib /local/lib" glibpth="$libpth" xlibpth="$libpth" -libswanted='dld m c gdbm' +libswanted='gdbm m dld' so=' ' -# dynamic loading +# compiler & linker flags +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"' +# 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'