[Top][All Lists]
[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: |
Laurent Vivier |
Subject: |
Re: difference between default behaviour of GNU nm and AIX nm (symbol demangling) |
Date: |
Tue, 25 Jun 2002 18:25:17 +0200 |
"Boehne, Robert" wrote:
>
OK, thank you,
I'm sorry, I checked only 1.4.2 (stable) and the correction is in 1.4d
(alpha).
(but it seems to not appear in Changelog)
Laurent
> 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
--
-------------- Laurent Vivier ---------------
mailto:address@hidden
phone: (+33) 476 29 7866 Bullcom: 229-7866
--------------BULL/FREC:B1-226---------------
When we speak of free software, we are refer-
ring to freedom, not price. (in GPL:Preamble)
-------------- BI&S/GeODE/AIX ---------------