Mailing List gnuports@2rosenthals.com Archived Message #674

From: "Dave Yeo" <gnuports@2rosenthals.com> Full Headers
Undecoded message
Subject: nm for omf?
Date: Thu, 7 Mar 2019 21:32:31 -0800
To: GNU Ports for eCS Mailing List <gnuports@2rosenthals.com>

Hi, I'm looking for something like nm to dump symbols so a configure script can figure out how we mangle symbols, underline in our case, GCC environment, ideally should already be installed on most systems.
Snippet,
check_cc <<EOF || die "Symbol mangling check failed."
int ff_extern;
EOF
sym=$($nm $TMPO | awk '/ff_extern/{ print substr($0, match($0, /[^ \t]*ff_extern/)) }')
extern_prefix=${sym%%ff_extern*}

I tried emxexp but that gave "_ instead of _
Dave

Subscribe: Feed, Digest, Index.
Unsubscribe
Mail to ListMaster