Re: Where is nm?
Re: Where is nm?
- Subject: Re: Where is nm?
- From: Roland King <email@hidden>
- Date: Tue, 25 Apr 2017 06:42:43 +0800
Well don't run it without arguments then.
On 25/04/2017 06:41, Rick Mann wrote:
My man page for nm describes the tool I'm trying to use:
NAME
nm - display name list (symbol table)
SYNOPSIS
nm [ -agnoprumxjlfPA [ s segname sectname ]] [ - ] [ -t format ] [[ -arch arch_flag ]...] [ file ... ]
If I invoke /usr/bin/nm -help, I get:
$ nm -help
OVERVIEW: llvm symbol table dumper
USAGE: nm [subcommand] [options] <input files> --s Dump only symbols from this segment and section name, Mach-O only
and the subsequent options are completely different from the man page description.
I just re-ran xcode-select --install, and I still have the same /usr/bin/nm, which is an executable, not a link to something inside Xcode. But if I run it without arguments, it spits out:
$ /usr/bin/nm
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/nm: a.out: No such file or directory.
I'm trying to see what symbols and frameworks are linked by a dylib I have.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden