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' |
0a051f4f | 10 | |
55497cff | 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 | ||
0a753a76 | 21 | libpth="$prefix/lib /local/lib" |
55497cff | 22 | glibpth="$libpth" |
23 | xlibpth="$libpth" | |
24 | ||
c22e42be AD |
25 | # This should remove unwanted libraries instead of limiting the set |
26 | # to just these few. E.g. what about Berkeley DB? | |
fdaee7fc | 27 | libswanted='gdbm m dld' |
55497cff | 28 | so=' ' |
29 | ||
0a051f4f | 30 | # compiler & linker flags |
c22e42be | 31 | # Respect command-line values. |
55497cff | 32 | |
c22e42be AD |
33 | ccflags="$ccflags -DAMIGAOS -mstackextend" |
34 | case "$optimize" in | |
35 | '') optimize='-O2 -fomit-frame-pointer';; | |
36 | esac | |
fdaee7fc | 37 | dlext='o' |
c22e42be | 38 | # Are these two different from the defaults? |
fdaee7fc NP |
39 | cccdlflags='none' |
40 | ccdlflags='none' | |
41 | lddlflags='-oformat a.out-amiga -r' | |
0a051f4f NP |
42 | |
43 | # uncomment the following settings if you are compiling for an 68020+ system | |
fdaee7fc | 44 | # and want a residentable executable instead of dynamic loading |
0a051f4f | 45 | |
fdaee7fc | 46 | # usedl='n' |
0a051f4f NP |
47 | # ccflags='-DAMIGAOS -mstackextend -m68020 -resident32' |
48 | # ldflags='-m68020 -resident32' | |
0a753a76 | 49 | |
b971f6e4 | 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' |