This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Add descriptions for $^E and $^O, and squash a typo.
[perl5.git] / hints / powerux.sh
CommitLineData
c07a80fd 1# Hints for the PowerUX operating system running on Harris NightHawk
94b6baf5
AD
2# machines. Written by Tom.Horsley@mail.hcsc.com
3#
4# This config uses dynamic linking and the Harris C compiler. It has been
c07a80fd 5# tested on a Harris 6800 running PowerUX.
94b6baf5
AD
6
7# Internally at Harris, we use a source management tool which winds up
8# giving us read-only copies of source trees that are mostly symbolic links.
9# That upsets the perl build process when it tries to edit opcode.h and
10# embed.h or touch perly.c or perly.h, so turn those files into "real" files
11# when Configure runs. (If you already have "real" source files, this won't
12# do anything).
13#
14if [ -x /usr/local/mkreal ]
15then
16 for i in '.' '..'
17 do
18 for j in embed.h opcode.h perly.h perly.c
19 do
20 if [ -h $i/$j ]
21 then
22 ( cd $i ; /usr/local/mkreal $j ; chmod 666 $j )
23 fi
24 done
25 done
26fi
27
28# We DO NOT want -lmalloc or -lPW, we DO need -lgen to follow -lnsl, so
29# fixup libswanted to reflect that desire.
30#
31libswanted=`echo ' '$libswanted' ' | sed -e 's/ malloc / /' -e 's/ PW / /' -e 's/ nsl / nsl gen /'`
32
33# We DO NOT want /usr/ucblib in glibpth
34#
35glibpth=`echo ' '$glibpth' ' | sed -e 's@ /usr/ucblib @ @'`
36
37# Yes, csh exists, but doesn't work worth beans, if perl tries to use it,
38# the glob test fails, so just pretend it isn't there...
39#
40d_csh='undef'
41
42# Need to use Harris cc for most of these options to be meaningful (if you
43# want to get this to work with gcc, you're on your own :-). Passing
44# -Bexport to the linker when linking perl is important because it leaves
45# the interpreter internal symbols visible to the shared libs that will be
46# loaded on demand (and will try to reference those symbols).
47#
48cc='/bin/cc'
49cccdlflags='-Zpic'
50ccdlflags='-Zlink=dynamic -Wl,-Bexport'
5d94fbed 51lddlflags='-Zlink=so'
94b6baf5 52
94b6baf5
AD
53# Configure sometime finds what it believes to be ndbm header files on the
54# system and imagines that we have the NDBM library, but we really don't.
55# There is something there that once resembled ndbm, but it is purely
56# for internal use in some tool and has been hacked beyond recognition
57# (or even function :-)
58#
59i_ndbm='undef'
60
61# Misc other flags that might be able to change, but I know these work right.
62#
63d_suidsafe='define'
64d_isascii='define'
65d_mymalloc='undef'
66usemymalloc='n'
67ssizetype='ssize_t'
68usevfork='false'