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 / dynixptx.sh
1 # Sequent Dynix/Ptx v. 4 hints
2 # Created 1996/03/15 by Brad Howerter, bhower@wgc.woodward.com
3 # Use Configure -Dcc=gcc to use gcc.
4
5 # cc wants -G for dynamic loading
6 lddlflags='-G'
7
8 # Remove inet to avoid this error in Configure, which causes Configure
9 # to be unable to figure out return types:
10 # dynamic linker: ./ssize: can't find libinet.so,
11 # link with -lsocket instead of -l inet
12
13 libswanted=`echo $libswanted | sed -e 's/ inet / /'`
14
15 # Configure defaults to usenm='y', which doesn't work very well
16 usenm='n'
17
18 # The Perl library has to be built as a shared library so that dynamic
19 # loading will work (otherwise code loaded with dlopen() won't be able
20 # to reference symbols in the main part of perl).  Note that since
21 # Configure doesn't normally prompt about $d_shrplib this will cause a
22 # `Whoa there!'.  This is normal, just keep the recommended value.  A
23 # consequence of all this is that you've got to include the source
24 # directory in your LD_LIBRARY_PATH when you're building and testing
25 # perl.
26 d_shrplib=define
27
28 cat <<'EOM' >&4
29
30 If you get a 'Whoa there!' with regard to d_shrplib, you can ignore
31 it, and just keep the recommended value.
32
33 If you wish to use dynamic linking, you must use
34    LD_LIBRARY_PATH=`pwd`; export LD_LIBRARY_PATH
35 or
36    setenv LD_LIBRARY_PATH `pwd`
37 before running make.
38
39 EOM