[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: AIX fixes for branch-1.4
From: |
Howard Chu |
Subject: |
RE: AIX fixes for branch-1.4 |
Date: |
Fri, 11 Oct 2002 07:14:58 -0700 |
re: xlc, might also want to add the "_r" variants. cc_r, xlc_r. I don't know
that the other variants are commonly used, but these certainly are.
-- Howard Chu
Chief Architect, Symas Corp. Director, Highland Sun
http://www.symas.com http://highlandsun.com/hyc
Symas: Premier OpenSource Development and Support
> -----Original Message-----
> From: address@hidden
> [mailto:address@hidden Behalf Of Albert Chin
> Sent: Friday, October 11, 2002 6:37 AM
> To: address@hidden
> Subject: AIX fixes for branch-1.4
>
>
> 1. When LDFLAGS="-Wl,-brtl,[other options]", the -brtl special-case
> code for AIX never gets triggered because were are being too
> specific about how we search for -brtl. Use case statement to
> avoid this.
> 2. Remove extraneous semicolon.
> 3. Recognize the IBM xlc compiler.
>
> 2002-10-11 Albert Chin-A-Young <address@hidden>
>
> * libtool.m4: When LDFLAGS="-Wl,-brtl,[other options]", the
> -brtl special-case code for AIX never gets triggered because
> were are being too specific about how we search for -brtl.
> Use case statement to avoid this. Remove extraneous
> semicolon.
> * ltmain.in: Recognize the IBM xlc compiler.
>
> --
> albert chin (address@hidden)
>
> -- snip snip
> Index: libtool.m4
> ===================================================================
> RCS file: /cvsroot/libtool/libtool/libtool.m4,v
> retrieving revision 1.166.2.43
> diff -u -3 -p -r1.166.2.43 libtool.m4
> --- libtool.m4 10 Sep 2002 13:50:54 -0000 1.166.2.43
> +++ libtool.m4 11 Oct 2002 13:33:40 -0000
> @@ -1464,10 +1464,12 @@ else
> # need to do runtime linking.
> case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*)
> for ld_flag in $LDFLAGS; do
> - if (test $ld_flag = "-brtl" || test $ld_flag =
> "-Wl,-brtl"); then
> + case $ld_flag in
> + *-brtl*)
> aix_use_runtimelinking=yes
> break
> - fi
> + ;;
> + esac
> done
> esac
>
> @@ -3667,7 +3669,7 @@ $debug ||
> # Check for GNU sed and select it if it is found.
> if "${_sed}" --version 2>&1 < /dev/null | egrep '(GNU)'
> > /dev/null; then
> lt_cv_path_SED=${_sed}
> - break;
> + break
> fi
> while true; do
> cat "$tmp/sed.in" "$tmp/sed.in" >"$tmp/sed.tmp"
> Index: ltmain.in
> ===================================================================
> RCS file: /cvsroot/libtool/libtool/ltmain.in,v
> retrieving revision 1.259.2.24
> diff -u -3 -p -r1.259.2.24 ltmain.in
> --- ltmain.in 9 Sep 2002 18:27:14 -0000 1.259.2.24
> +++ ltmain.in 11 Oct 2002 13:33:41 -0000
> @@ -226,7 +226,7 @@ if test -z "$show_help"; then
> # Infer the operation mode.
> if test -z "$mode"; then
> case $nonopt in
> - *cc | *++ | gcc* | *-gcc*)
> + *cc | *++ | gcc* | *-gcc* | xlc)
> mode=link
> for arg
> do
>
>
> _______________________________________________
> Libtool-patches mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/libtool-patches
>