This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: binutils for mac os x
- From: Stan Shebs <shebs at apple dot com>
- To: nico <moser at cs dot tu-berlin dot de>
- Cc: binutils at sourceware dot org
- Date: Mon, 28 Feb 2005 12:19:59 -0800
- Subject: Re: binutils for mac os x
- References: <50796be3be3f72b6d57ce0664ab3471c@cs.tu-berlin.de>
nico wrote:
is it possible to compile binutils for mac os x?
Not at the moment. Apple's equivalent of binutils, called "cctools",
is a totally independent implementation, except for the assembler,
which was forked from gas 1.38 (a pre BFD version). So there hasn't
been much motivation to port binutils.
The reading side of BFD has been ported, for the benefit of GDB,
which explains the "bfd/mach-o.c" etc that you see in the sources.
Patches for Mach-O gas were posted to this list some time ago, but
I think they've been overlooked. Doing Mach-O in the linker and
such would be pretty complicated; the file format sometimes resembles
ELF, but is different enough that wouldn't be much to share, and so
there'd be a lot of coding involved.
Stan