Re: Where is nm?
Re: Where is nm?
- Subject: Re: Where is nm?
- From: Rick Mann <email@hidden>
- Date: Mon, 24 Apr 2017 15:58:56 -0700
Oh, it accepts -m, not -f (which the man page flattens the output).
---------
It refuses to accept the following:
$ nm -u -f -m iOS/Controller/lib/MyLibrary/MyLibrary.dylib
nm: for the -format option: Cannot find option named '-m'!
which is documented in the man page.
> On Apr 24, 2017, at 15:54 , Jens Alfke <email@hidden> wrote:
>
>
>> On Apr 24, 2017, at 3:41 PM, Rick Mann <email@hidden> wrote:
>>
>> 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.
>
> Huh, you’re right. My best guess is that the man page hasn’t been updated in a long time, and is missing a lot of newer options that are described in the tool’s help text.
>
> Anyway, to use it you do need to give the path to the binary as a command line argument.
>
> —Jens
--
Rick Mann
email@hidden
_______________________________________________
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