libtool
[Top][All Lists]
Advanced

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

quote.test in 1.4 and MLB for AIX


From: libtool
Subject: quote.test in 1.4 and MLB for AIX
Date: Wed, 25 Apr 2001 14:25:02 -0500
User-agent: Mutt/1.1.12i

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").

-- 
albert chin (address@hidden)



reply via email to

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