This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: binutils for mac os x


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]