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