summaryrefslogtreecommitdiff
path: root/mpeix/relink
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>1998-07-14 03:07:30 +0300
committerGurusamy Sarathy <gsar@cpan.org>1998-07-14 05:53:08 +0000
commit1d84e8dfc14d5303f4e9e567bd263f6b4d88e584 (patch)
treec3b41441d1e4461c6a69f523e8e773af19185a57 /mpeix/relink
parentb9d5759e179510f18c95c0d3686ffa808dca661e (diff)
downloadperl-1d84e8dfc14d5303f4e9e567bd263f6b4d88e584.tar.gz
add files and tweaks needed for MPE/iX port (via PM)
Message-Id: <199807132107.AAA20603@alpha.hut.fi> Subject: MPE/iX patches for _73 p4raw-id: //depot/perl@1478
Diffstat (limited to 'mpeix/relink')
-rw-r--r--mpeix/relink8
1 files changed, 8 insertions, 0 deletions
diff --git a/mpeix/relink b/mpeix/relink
new file mode 100644
index 0000000000..7760fdda9a
--- /dev/null
+++ b/mpeix/relink
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+# MPE/iX as of 5.5 does not yet properly support linking against dynamic
+# libraries via gcc or ld. For now, re-run gcc without the external library
+# list, and then run the native linker with the list of dynamic libraries.
+
+gcc -o perl perlmain.o lib/auto/DynaLoader/DynaLoader.a libperl.a `cat ext.libs` -L/BIND/PUB/lib -lbind
+callci 'linkedit "altprog ./perl;xl=/lib/libsvipc.sl,/usr/lib/libsocket.sl,/lib/libm.sl,/lib/libc.sl"'