Perl itself and for extra-core extensions
(as used by ExtUtilss::embed::ldopts).
Based on the problems described in
To: perl5-porters@perl.org
Subject: [ID
19990722.002] Perl 5.00503 and AIX 4.1.5; perl.exp; build errors. Also Imagemagick...
Reply-To: m.w.ellwood@rl.ac.uk
Message-Id: <Pine.A41.3.96.
990722141209.72660V-100000@unixfe.rl.ac.uk>
p4raw-id: //depot/cfgperl@3720
# $Id: Head.U,v 3.0.1.9 1997/02/28 15:02:09 ram Exp $
#
-# Generated on Tue Jul 6 18:36:05 EET DST 1999 [metaconfig 3.0 PL70]
+# Generated on Thu Jul 22 22:55:08 EET DST 1999 [metaconfig 3.0 PL70]
# (with additional metaconfig patches by perlbug@perl.com)
cat >/tmp/c1$$ <<EOF
;;
esac
fi
+case "$osname" in
+aix*) ccdlflags="$ccdlflags -bE:$installarchlib/CORE/perl.exp" ;;
+esac
# Respect a hint or command-line value.
case "$shrpenv" in
'') shrpenv="$tmp_shrpenv" ;;
aix)
$spitshell >>Makefile <<!GROK!THIS!
LIBS = $libs
+# In AIX we need to change this for building Perl itself from
+# its earlier definition (which is for building external
+# extensions *after* Perl has been built and installed)
+CCDLFLAGS = `echo $ccdlflags|sed -e 's@-bE:.*/perl\.exp@-bE:perl.exp@'`
!GROK!THIS!
case "$useshrplib" in
/* HAS_FTELLO:
* This symbol, if defined, indicates that the ftello routine is
- * available to ftell from beyond 32 bits (useful for ILP32 hosts).
+ * available to ftell beyond 32 bits (useful for ILP32 hosts).
*/
#$d_ftello HAS_FTELLO /**/
#
# Tell perl which symbols to export for dynamic linking.
case "$cc" in
-*gcc*) ccdlflags='-Xlinker -bE:perl.exp' ;;
-*) ccdlflags='-bE:perl.exp' ;;
+*gcc*) ccdlflags='-Xlinker' ;;
esac
+# the required -bE:$installarchlib/CORE/perl.exp is added by
+# libperl.U (Configure) later.
# The first 3 options would not be needed if dynamic libs. could be linked
# with the compiler instead of ld.