This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
How will is nm supported on Mac OS X?
- From: Peng Yu <pengyu dot ut at gmail dot com>
- To: binutils at sourceware dot org
- Date: Thu, 10 Jan 2019 17:08:13 -0600
- Subject: How will is nm supported on Mac OS X?
Hi,
brew suggests not to use binutils on Mac OS X. But I just want to use
tools like nm and objdump as the binutils ones seem to have more
features than the ones from llvm (the default on Mac OS X). Are these
tools reading binaries well supported on Mac OS X? Thanks.
https://llvm.org/docs/CommandGuide/llvm-nm.html
$ brew info binutils
binutils: stable 2.31.1 (bottled) [keg-only]
FSF/GNU ld, ar, readelf, etc. for native development
https://www.gnu.org/software/binutils/binutils.html
/usr/local/Cellar/binutils/2.31.1 (114 files, 170.8MB) *
Poured from bottle on 2018-09-08 at 07:32:37
From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/binutils.rb
==> Caveats
binutils is keg-only, which means it was not symlinked into /usr/local,
because because Apple provides the same tools and binutils is poorly
supported on macOS.
==> Analytics
install: 4,334 (30 days), 21,692 (90 days), 70,916 (365 days)
install_on_request: 3,523 (30 days), 16,622 (90 days), 52,781 (365 days)
build_error: 0 (30 days)
--
Regards,
Peng