This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
applied new parts of suggested patch
[perl5.git] / hints / amigaos.sh
CommitLineData
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
6archname='m68k-amigaos'
7cc='gcc'
8firstmakefile='GNUmakefile'
0a753a76 9usenm='true'
0a051f4f 10
55497cff 11usemymalloc='n'
12usevfork='true'
13useperlio='true'
14d_eofnblk='define'
15d_fork='undef'
16d_vfork='define'
17groupstype='int'
18
19# libs
20
0a753a76 21libpth="$prefix/lib /local/lib"
55497cff 22glibpth="$libpth"
23xlibpth="$libpth"
24
fdaee7fc 25libswanted='gdbm m dld'
55497cff 26so=' '
27
0a051f4f 28# compiler & linker flags
55497cff 29
0a051f4f
NP
30ccflags='-DAMIGAOS -mstackextend'
31ldflags=''
32optimize='-O2 -fomit-frame-pointer'
fdaee7fc
NP
33dlext='o'
34cccdlflags='none'
35ccdlflags='none'
36lddlflags='-oformat a.out-amiga -r'
0a051f4f
NP
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
NP
42# ccflags='-DAMIGAOS -mstackextend -m68020 -resident32'
43# ldflags='-m68020 -resident32'
0a753a76 44
b971f6e4 45# AmigaOS always reports only two links to directories, even if they
46# contain subdirectories. Consequently, we use this variable to stop
47# File::Find using the link count to determine whether there are
48# subdirectories to be searched. This will generate a harmless message:
49# Hmm...You had some extra variables I don't know about...I'll try to keep 'em.
50# Propagating recommended variable dont_use_nlink
51dont_use_nlink='define'