summaryrefslogtreecommitdiff
path: root/hints/amigaos.sh
blob: 6c00d7638c65f4b3b160d5d03b9c9da66f729b1b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# hints/amigaos.sh
#
# talk to pueschel@imsdd.meb.uni-bonn.de if you want to change this file.
#
# misc stuff
archname='m68k-amigaos'
cc='gcc'
firstmakefile='GNUmakefile'
ccflags='-DAMIGAOS -mstackextend'
optimize='-O2 -fomit-frame-pointer'

usenm='y'
usemymalloc='n'
usevfork='true'
useperlio='true'
d_eofnblk='define'
d_fork='undef'
d_vfork='define'
groupstype='int'

# libs

libpth="/local/lib $prefix/lib"
glibpth="$libpth"
xlibpth="$libpth"

libswanted='dld m c gdbm'
so=' '

# dynamic loading

dlext='o'
cccdlflags='none'
ccdlflags='none'
lddlflags='-oformat a.out-amiga -r'

# Avoid telldir prototype conflict in pp_sys.c  (AmigaOS uses const DIR *)
# Configure should test for this.  Volunteers?
pp_sys_cflags='ccflags="$ccflags -DHAS_TELLDIR_PROTOTYPE"'