diff options
Diffstat (limited to 'mpeix/relink')
-rw-r--r-- | mpeix/relink | 8 |
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"' |