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