This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Re: local($tied->{foo}) leaks
[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'
55497cff 12useperlio='true'
13d_eofnblk='define'
3842fa9e 14d_fork='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=' '
27
0a051f4f 28# compiler & linker flags
c22e42be 29# Respect command-line values.
55497cff 30
3842fa9e 31ccflags="$ccflags -DAMIGAOS -mstackextend -Dfork=ix_vfork_resume"
c22e42be
AD
32case "$optimize" in
33'') optimize='-O2 -fomit-frame-pointer';;
34esac
fdaee7fc 35dlext='o'
c22e42be 36# Are these two different from the defaults?
fdaee7fc
NP
37cccdlflags='none'
38ccdlflags='none'
39lddlflags='-oformat a.out-amiga -r'
0a051f4f
NP
40
41# uncomment the following settings if you are compiling for an 68020+ system
fdaee7fc 42# and want a residentable executable instead of dynamic loading
0a051f4f 43
fdaee7fc 44# usedl='n'
0a051f4f
NP
45# ccflags='-DAMIGAOS -mstackextend -m68020 -resident32'
46# ldflags='-m68020 -resident32'
0a753a76 47
b971f6e4 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
54dont_use_nlink='define'