From: Mike W Ellwood Date: Thu, 22 Jul 1999 14:28:19 +0000 (+0100) Subject: AIX magic: ccdlflags needs to be different for X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=5f9d9a172723844585bda023d4f5b1e3ee810733;p=p5sagit%2Fp5-mst-13.2.git AIX magic: ccdlflags needs to be different for 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: p4raw-id: //depot/cfgperl@3720 --- diff --git a/Configure b/Configure index 4f5365c..da92f7b 100755 --- a/Configure +++ b/Configure @@ -20,7 +20,7 @@ # $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$$ <>Makefile <config.h -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un- /* 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 /**/ diff --git a/hints/aix.sh b/hints/aix.sh index b6978dc..0f255a7 100644 --- a/hints/aix.sh +++ b/hints/aix.sh @@ -95,9 +95,10 @@ d_setreuid='undef' # # 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.