On Feb 15, 2000, Tom Tromey <[EMAIL PROTECTED]> wrote:
Linux> We use this horrible sed script to find the symbol value:
Linus> sed -e 's;[[][0-9][]]\(.*\);\1;' -e 's;[^1-9]*\([0-9]*\).*;\1;'
> Different flavors of nm have different output formatting. Something
> to be aware of.
Libtool has a rather elaborate autoconf macro to check for a
BSD-compatible working nm and to create a sed script to extract symbol
names.
--
Alexandre Oliva http://www.ic.unicamp.br/~oliva/ Enjoy Guaranį
Cygnus Solutions, a Red Hat company aoliva@{redhat, cygnus}.com
Free Software Developer and Evangelist CS PhD student at IC-Unicamp
oliva@{lsd.ic.unicamp.br, gnu.org} Write to mailing lists, not to me