Commit | Line | Data |
---|---|---|
55497cff | 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' | |
0a753a76 | 9 | usenm='true' |
b132d766 | 10 | d_fork='undef' # available but ENOSYS |
0a051f4f | 11 | |
55497cff | 12 | usemymalloc='n' |
55497cff | 13 | useperlio='true' |
14 | d_eofnblk='define' | |
55497cff | 15 | groupstype='int' |
16 | ||
17 | # libs | |
18 | ||
0a753a76 | 19 | libpth="$prefix/lib /local/lib" |
55497cff | 20 | glibpth="$libpth" |
21 | xlibpth="$libpth" | |
22 | ||
c22e42be AD |
23 | # This should remove unwanted libraries instead of limiting the set |
24 | # to just these few. E.g. what about Berkeley DB? | |
fdaee7fc | 25 | libswanted='gdbm m dld' |
55497cff | 26 | so=' ' |
07b0e447 | 27 | libs='-lm' |
55497cff | 28 | |
0a051f4f | 29 | # compiler & linker flags |
c22e42be | 30 | # Respect command-line values. |
55497cff | 31 | |
07b0e447 | 32 | ccflags="$ccflags -DAMIGAOS" |
c22e42be AD |
33 | case "$optimize" in |
34 | '') optimize='-O2 -fomit-frame-pointer';; | |
35 | esac | |
fdaee7fc | 36 | dlext='o' |
c22e42be | 37 | # Are these two different from the defaults? |
fdaee7fc NP |
38 | cccdlflags='none' |
39 | ccdlflags='none' | |
40 | lddlflags='-oformat a.out-amiga -r' | |
0a051f4f NP |
41 | |
42 | # uncomment the following settings if you are compiling for an 68020+ system | |
fdaee7fc | 43 | # and want a residentable executable instead of dynamic loading |
0a051f4f | 44 | |
fdaee7fc | 45 | # usedl='n' |
0a051f4f NP |
46 | # ccflags='-DAMIGAOS -mstackextend -m68020 -resident32' |
47 | # ldflags='-m68020 -resident32' | |
0a753a76 | 48 | |
b971f6e4 | 49 | # AmigaOS always reports only two links to directories, even if they |
50 | # contain subdirectories. Consequently, we use this variable to stop | |
51 | # File::Find using the link count to determine whether there are | |
52 | # subdirectories to be searched. This will generate a harmless message: | |
53 | # Hmm...You had some extra variables I don't know about...I'll try to keep 'em. | |
54 | # Propagating recommended variable dont_use_nlink | |
55 | dont_use_nlink='define' |