bug-libtool
[Top][All Lists]
Advanced

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

Re: difference between default behaviour of GNU nm and AIX nm (symbol


From: Boehne, Robert
Subject: Re: difference between default behaviour of GNU nm and AIX nm (symbol demangling)
Date: Tue, 25 Jun 2002 11:10:53 -0500

Hello all,

CVS Libtool already does this, setting -C only when appropriate.

<SNIP>
  aix4* | aix5*)
    # If we're using GNU nm, then we don't want the "-C" option.
    # -C means demangle to AIX nm, but means don't demangle with GNU
nm
    if $NM -V 2>&1 | egrep '(GNU)' > /dev/null; then
      _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs
$convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") ||
(\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\''
| sort -u > $export_symbols'
    else
      _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs
$convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") ||
(\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\''
| sort -u > $export_symbols'
    fi
    ;;
<SNIP>

-- 
Robert Boehne             Software Engineer
Ricardo Software   Chicago Technical Center
TEL: (630)789-0003 x. 238
FAX: (630)789-0127
email:  rboehne AT ricardo-us DOT com



reply via email to

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