This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
fix some typos in perlsyn.pod
[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'
b132d766 10d_fork='undef' # available but ENOSYS
0a051f4f 11
55497cff 12usemymalloc='n'
55497cff 13useperlio='true'
14d_eofnblk='define'
55497cff 15groupstype='int'
16
17# libs
18
0a753a76 19libpth="$prefix/lib /local/lib"
55497cff 20glibpth="$libpth"
21xlibpth="$libpth"
22
c22e42be
AD
23# This should remove unwanted libraries instead of limiting the set
24# to just these few. E.g. what about Berkeley DB?
fdaee7fc 25libswanted='gdbm m dld'
55497cff 26so=' '
07b0e447 27libs='-lm'
55497cff 28
0a051f4f 29# compiler & linker flags
c22e42be 30# Respect command-line values.
55497cff 31
07b0e447 32ccflags="$ccflags -DAMIGAOS"
c22e42be
AD
33case "$optimize" in
34'') optimize='-O2 -fomit-frame-pointer';;
35esac
fdaee7fc 36dlext='o'
c22e42be 37# Are these two different from the defaults?
fdaee7fc
NP
38cccdlflags='none'
39ccdlflags='none'
40lddlflags='-oformat a.out-amiga -r'
0a051f4f
NP
41
42# uncomment the following settings if you are compiling for an 68020+ system
fdaee7fc 43# and want a residentable executable instead of dynamic loading
0a051f4f 44
fdaee7fc 45# usedl='n'
0a051f4f
NP
46# ccflags='-DAMIGAOS -mstackextend -m68020 -resident32'
47# ldflags='-m68020 -resident32'
0a753a76 48
b971f6e4 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
55dont_use_nlink='define'