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 | |
fdaee7fc |
25 | libswanted='gdbm m dld' |
55497cff |
26 | so=' ' |
27 | |
0a051f4f |
28 | # compiler & linker flags |
55497cff |
29 | |
0a051f4f |
30 | ccflags='-DAMIGAOS -mstackextend' |
31 | ldflags='' |
32 | optimize='-O2 -fomit-frame-pointer' |
fdaee7fc |
33 | dlext='o' |
34 | cccdlflags='none' |
35 | ccdlflags='none' |
36 | lddlflags='-oformat a.out-amiga -r' |
0a051f4f |
37 | |
38 | # uncomment the following settings if you are compiling for an 68020+ system |
fdaee7fc |
39 | # and want a residentable executable instead of dynamic loading |
0a051f4f |
40 | |
fdaee7fc |
41 | # usedl='n' |
0a051f4f |
42 | # ccflags='-DAMIGAOS -mstackextend -m68020 -resident32' |
43 | # ldflags='-m68020 -resident32' |
0a753a76 |
44 | |
55497cff |
45 | # Avoid telldir prototype conflict in pp_sys.c (AmigaOS uses const DIR *) |
46 | # Configure should test for this. Volunteers? |
47 | pp_sys_cflags='ccflags="$ccflags -DHAS_TELLDIR_PROTOTYPE"' |
b971f6e4 |
48 | |
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' |