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 | |
11 | usedl='n' |
55497cff |
12 | usemymalloc='n' |
13 | usevfork='true' |
14 | useperlio='true' |
15 | d_eofnblk='define' |
16 | d_fork='undef' |
17 | d_vfork='define' |
18 | groupstype='int' |
19 | |
20 | # libs |
21 | |
0a753a76 |
22 | libpth="$prefix/lib /local/lib" |
55497cff |
23 | glibpth="$libpth" |
24 | xlibpth="$libpth" |
25 | |
0a753a76 |
26 | libswanted='gdbm m' |
55497cff |
27 | so=' ' |
28 | |
0a051f4f |
29 | # compiler & linker flags |
55497cff |
30 | |
0a051f4f |
31 | ccflags='-DAMIGAOS -mstackextend' |
32 | ldflags='' |
33 | optimize='-O2 -fomit-frame-pointer' |
34 | |
35 | # uncomment the following settings if you are compiling for an 68020+ system |
36 | |
37 | # ccflags='-DAMIGAOS -mstackextend -m68020 -resident32' |
38 | # ldflags='-m68020 -resident32' |
0a753a76 |
39 | |
0a051f4f |
40 | # uncomment the following line if you want dynamic loading and |
41 | # a working version of dld is available |
0a753a76 |
42 | |
0a051f4f |
43 | # usedl='' |
44 | # ccflags='-DAMIGAOS -mstackextend' |
45 | # ldflags='' |
46 | # optimize='-O2 -fomit-frame-pointer' |
0a753a76 |
47 | # dlext='o' |
48 | # cccdlflags='none' |
49 | # ccdlflags='none' |
50 | # lddlflags='-oformat a.out-amiga -r' |
55497cff |
51 | |
b971f6e4 |
52 | # When AmigaOS runs a script with "#!", it sets argv[0] to the script name. |
53 | toke_cflags='ccflags="$ccflags -DARG_ZERO_IS_SCRIPT"' |
54 | |
55497cff |
55 | # Avoid telldir prototype conflict in pp_sys.c (AmigaOS uses const DIR *) |
56 | # Configure should test for this. Volunteers? |
57 | pp_sys_cflags='ccflags="$ccflags -DHAS_TELLDIR_PROTOTYPE"' |
b971f6e4 |
58 | |
59 | # AmigaOS always reports only two links to directories, even if they |
60 | # contain subdirectories. Consequently, we use this variable to stop |
61 | # File::Find using the link count to determine whether there are |
62 | # subdirectories to be searched. This will generate a harmless message: |
63 | # Hmm...You had some extra variables I don't know about...I'll try to keep 'em. |
64 | # Propagating recommended variable dont_use_nlink |
65 | dont_use_nlink='define' |