diff options
author | Daniel MuiƱo <dmuino@afip.gov.ar> | 2000-08-28 12:50:01 -0300 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2000-08-28 20:38:59 +0000 |
commit | d553adecd04300d132a718970d6b17b4663f3e32 (patch) | |
tree | 95cf599cecdeef90271c0beda66e79942e768ccb /hints | |
parent | e5c81feb3d32a96869ed78abc5cecef7e294da38 (diff) | |
download | perl-d553adecd04300d132a718970d6b17b4663f3e32.tar.gz |
An attempt to fix the problem reported in
Subject: Building perl@6856 using gcc/AIX 4.3.3
Message-ID: <20000828155001.A14403@con2-dgi>
I can't test this properly since the gcc installation I have
access to seems to be botched (gcc is calling the AIX cpp,
a losing proposition...)
p4raw-id: //depot/perl@6864
Diffstat (limited to 'hints')
-rw-r--r-- | hints/aix.sh | 21 |
1 files changed, 19 insertions, 2 deletions
diff --git a/hints/aix.sh b/hints/aix.sh index 8a29b93e5b..c6a8c52e24 100644 --- a/hints/aix.sh +++ b/hints/aix.sh @@ -213,7 +213,7 @@ ldflags_largefiles="`getconf XBS5_ILP32_OFFBIG_LDFLAGS 2>/dev/null`" # insert(?) *something* to $ldflags so that later (in Configure) evaluating # $ldflags causes a newline after the '-b64' (the result of the getconf). # (nothing strange shows up in $ldflags even in hexdump; - # so it may be something in the shell, instead?) + # so it may be something (a bug) in the shell, instead?) # Try it out: just uncomment the below line and rerun Configure: # echo >&4 "AIX 4.3.1.0 $ldflags_largefiles mystery" ; exit 1 # Just don't ask me how AIX does it, I spent hours wondering. @@ -229,7 +229,24 @@ libswanted_largefiles="`getconf XBS5_ILP32_OFFBIG_LIBS 2>/dev/null|sed -e 's@^-l libswanted="$libswanted $libswanted_largefiles" ;; esac - ;; + case "$gccversion" in + '') ;; + *) + cat >&4 <<EOM + +*** Warning: gcc in AIX might not work with the largefile support of Perl +*** (default since 5.6.0), this combination hasn't been tested. +*** I will try, though. + +EOM + # Remove xlc-spefific -qflags. + ccflags="`echo $ccflags | sed -e 's@ -q[^ ]*@ @g' -e 's@^-q[^ ]* @@g'`" + ldflags="`echo $ldflags | sed -e 's@ -q[^ ]*@ @g' -e 's@^-q[^ ]* @@g'`" + echo >&4 "(using ccflags $ccflags)" + echo >&4 "(using ldflags $ldflags)" + ;; + esac + ;; esac EOCBU |