libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: quote.test in 1.4 and MLB for AIX


From: Gary V . Vaughan
Subject: Re: quote.test in 1.4 and MLB for AIX
Date: Sat, 30 Jun 2001 03:42:25 +0100

Hi Albert,

Looks like a bug to me!

Fixed in HEAD and branch-1-4.  Thanks for the report.

Cheers,
        Gary.

On Wednesday 25 April 2001  8:25 pm, address@hidden wrote:
> In 1.4's libtool.m4 we have:
>   if test "$GCC" = yes; then
>     lt_cv_prog_cc_wl='-Wl,'
>     lt_cv_prog_cc_static='-static'
>
>     case $host_os in
>     aix*)
>     ...
>   else
>     # PORTME Check for PIC flags for the system compiler.
>     case $host_os in
>     aix3* | aix4* | aix5*)
>       # All AIX code is PIC.
>       if test "$host_cpu" = ia64; then
>         # AIX 5 now supports IA64 processor
>         lt_cv_prog_cc_static='-Bstatic'
>         lt_cv_prog_cc_wl='-Wl,'
>       else
>         lt_cv_prog_cc_static='-bnso -bI:/lib/syscalls.exp'
>       fi
>       ;;
>
> Any reason we don't define lt_cv_prog_cc_wl='-Wl,' if $host_CPU !=
> ia64? xlC 5.0 does support -Wl. From the xlc help text:
>         -W<x,y>   Give the options <y> to the compiler program <x>
>                   where x can be one or more of the following:
>                     <p,c,b,i,a,l,I,L,m>
>
> In MLB's ltcf-c.sh we have:
>   if test "$with_gcc" = yes; then
>     ac_cv_prog_cc_wl='-Wl,'
>     ac_cv_prog_cc_static='-static'
>
>     case $host_os in
>     aix*)
>     ...
>   else
>     # PORTME Check for PIC flags for the system compiler.
>     case $host_os in
>     aix*)
>      # All AIX code is PIC.
>       ac_cv_prog_cc_static="$ac_cv_prog_cc_static ${ac_cv_prog_cc_wl}-lC"
>       ;;
>
> Any reason we don't define ac_cv_prog_cc_wl='-Wl,' for aix?
>
> I think this is the reason quote.test is failing on MLB (because wl=""
> causing libtool to strip "-Wl").

-- 
  ())_.  Gary V. Vaughan     gary@(oranda.demon.co.uk|gnu.org)
  ( '/   Research Scientist  http://www.oranda.demon.co.uk        ,_())____
  / )=   GNU Hacker          http://www.gnu.org/software/libtool   \'      `&
`(_~)_   Tech' Author        http://sources.redhat.com/autobook    =`---d__/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]