Re: Where is nm?
Re: Where is nm?
- Subject: Re: Where is nm?
- From: Rick Mann <email@hidden>
- Date: Mon, 24 Apr 2017 15:54:25 -0700
My point is that the nm that's shipping from Apple isn't the nm that Apple claims is installed (in the man page).
> On Apr 24, 2017, at 15:42 , Roland King <email@hidden> wrote:
>
> 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
--
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