summaryrefslogtreecommitdiff
path: root/hints/dynixptx.sh
diff options
context:
space:
mode:
authorPerl 5 Porters <perl5-porters@africa.nicoh.com>1996-03-17 11:23:42 +0000
committerCharles Bailey <bailey@genetics.upenn.edu>1996-03-17 11:23:42 +0000
commita2c75dc2571a8447475cb62d22a998ab5aa3d54b (patch)
tree62f080220fe12f3942cf85c78880b4b4d693c006 /hints/dynixptx.sh
parent0e9bad51c446e0ded7be04fd0b1db485fe11408b (diff)
downloadperl-a2c75dc2571a8447475cb62d22a998ab5aa3d54b.tar.gz
perl 5.002_01: hints/dynixptx.sh
Add hints file for Dynix/ptx 4; Configure doesn't yet recognize it, but will soon (mod Andy's schedule), and offers it in the list of possibilities now.
Diffstat (limited to 'hints/dynixptx.sh')
-rw-r--r--hints/dynixptx.sh39
1 files changed, 39 insertions, 0 deletions
diff --git a/hints/dynixptx.sh b/hints/dynixptx.sh
new file mode 100644
index 0000000000..d44f6b82cd
--- /dev/null
+++ b/hints/dynixptx.sh
@@ -0,0 +1,39 @@
+# Sequent Dynix/Ptx v. 4 hints
+# Created 1996/03/15 by Brad Howerter, bhower@wgc.woodward.com
+# Use Configure -Dcc=gcc to use gcc.
+
+# cc wants -G for dynamic loading
+lddlflags='-G'
+
+# Remove inet to avoid this error in Configure, which causes Configure
+# to be unable to figure out return types:
+# dynamic linker: ./ssize: can't find libinet.so,
+# link with -lsocket instead of -l inet
+
+libswanted=`echo $libswanted | sed -e 's/ inet / /'`
+
+# Configure defaults to usenm='y', which doesn't work very well
+usenm='n'
+
+# The Perl library has to be built as a shared library so that dynamic
+# loading will work (otherwise code loaded with dlopen() won't be able
+# to reference symbols in the main part of perl). Note that since
+# Configure doesn't normally prompt about $d_shrplib this will cause a
+# `Whoa there!'. This is normal, just keep the recommended value. A
+# consequence of all this is that you've got to include the source
+# directory in your LD_LIBRARY_PATH when you're building and testing
+# perl.
+d_shrplib=define
+
+cat <<'EOM' >&4
+
+If you get a 'Whoa there!' with regard to d_shrplib, you can ignore
+it, and just keep the recommended value.
+
+If you wish to use dynamic linking, you must use
+ LD_LIBRARY_PATH=`pwd`; export LD_LIBRARY_PATH
+or
+ setenv LD_LIBRARY_PATH `pwd`
+before running make.
+
+EOM