| 1 | # hints/amigaos.sh |
| 2 | # |
| 3 | # talk to pueschel@imsdd.meb.uni-bonn.de if you want to change this file. |
| 4 | # |
| 5 | # misc stuff |
| 6 | archname='m68k-amigaos' |
| 7 | cc='gcc' |
| 8 | firstmakefile='GNUmakefile' |
| 9 | usenm='true' |
| 10 | |
| 11 | usemymalloc='n' |
| 12 | usevfork='true' |
| 13 | useperlio='true' |
| 14 | d_eofnblk='define' |
| 15 | d_fork='undef' |
| 16 | d_vfork='define' |
| 17 | groupstype='int' |
| 18 | |
| 19 | # libs |
| 20 | |
| 21 | libpth="$prefix/lib /local/lib" |
| 22 | glibpth="$libpth" |
| 23 | xlibpth="$libpth" |
| 24 | |
| 25 | # This should remove unwanted libraries instead of limiting the set |
| 26 | # to just these few. E.g. what about Berkeley DB? |
| 27 | libswanted='gdbm m dld' |
| 28 | so=' ' |
| 29 | |
| 30 | # compiler & linker flags |
| 31 | # Respect command-line values. |
| 32 | |
| 33 | ccflags="$ccflags -DAMIGAOS -mstackextend" |
| 34 | case "$optimize" in |
| 35 | '') optimize='-O2 -fomit-frame-pointer';; |
| 36 | esac |
| 37 | dlext='o' |
| 38 | # Are these two different from the defaults? |
| 39 | cccdlflags='none' |
| 40 | ccdlflags='none' |
| 41 | lddlflags='-oformat a.out-amiga -r' |
| 42 | |
| 43 | # uncomment the following settings if you are compiling for an 68020+ system |
| 44 | # and want a residentable executable instead of dynamic loading |
| 45 | |
| 46 | # usedl='n' |
| 47 | # ccflags='-DAMIGAOS -mstackextend -m68020 -resident32' |
| 48 | # ldflags='-m68020 -resident32' |
| 49 | |
| 50 | # AmigaOS always reports only two links to directories, even if they |
| 51 | # contain subdirectories. Consequently, we use this variable to stop |
| 52 | # File::Find using the link count to determine whether there are |
| 53 | # subdirectories to be searched. This will generate a harmless message: |
| 54 | # Hmm...You had some extra variables I don't know about...I'll try to keep 'em. |
| 55 | # Propagating recommended variable dont_use_nlink |
| 56 | dont_use_nlink='define' |