public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* how far from a mach-o ld?
@ 2003-07-09  2:54 Adam Megacz
  2003-07-11 14:23 ` Nick Clifton
  2003-07-22  0:14 ` Stan Shebs
  0 siblings, 2 replies; 3+ messages in thread
From: Adam Megacz @ 2003-07-09  2:54 UTC (permalink / raw)
  To: binutils


I've noticed that bfd supports mach-o... what (beyond various
configury) would be needed to produce a usable ld?  It doesn't have to
be fast.  I just need a powerpc-apple-darwin linker that can run on
i86-linux (Apple's hacked up ld is strewn with MacOSX-specific stuff).

  - a

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: how far from a mach-o ld?
  2003-07-09  2:54 how far from a mach-o ld? Adam Megacz
@ 2003-07-11 14:23 ` Nick Clifton
  2003-07-22  0:14 ` Stan Shebs
  1 sibling, 0 replies; 3+ messages in thread
From: Nick Clifton @ 2003-07-11 14:23 UTC (permalink / raw)
  To: adam; +Cc: binutils

Hi Adam,

> I've noticed that bfd supports mach-o... what (beyond various
> configury) would be needed to produce a usable ld?  It doesn't have to
> be fast.  I just need a powerpc-apple-darwin linker that can run on
> i86-linux (Apple's hacked up ld is strewn with MacOSX-specific stuff).

Talk to Apple.  They are currently working on and contributing the
Mach-O support.  It seems that most of the code is already in, so you
may be able to get a working linker with only a little bit of work.

Cheers
        Nick
        

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: how far from a mach-o ld?
  2003-07-09  2:54 how far from a mach-o ld? Adam Megacz
  2003-07-11 14:23 ` Nick Clifton
@ 2003-07-22  0:14 ` Stan Shebs
  1 sibling, 0 replies; 3+ messages in thread
From: Stan Shebs @ 2003-07-22  0:14 UTC (permalink / raw)
  To: Adam Megacz; +Cc: binutils

Adam Megacz wrote:

>I've noticed that bfd supports mach-o... what (beyond various
>configury) would be needed to produce a usable ld?  It doesn't have to
>be fast.  I just need a powerpc-apple-darwin linker that can run on
>i86-linux (Apple's hacked up ld is strewn with MacOSX-specific stuff).
>
It would be pretty heinous I think.  New kinds of relocs, unusual
types of sections to create, etc. Mach-O is as different from ELF
as COFF is, and there are a lot of special options that you'd need
to build the variety of shlibs and execs that people use on Darwin.
GDB doesn't really need much of BFD to work, and that's the only
part that has been ported so far.

Stan



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-07-22  0:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-09  2:54 how far from a mach-o ld? Adam Megacz
2003-07-11 14:23 ` Nick Clifton
2003-07-22  0:14 ` Stan Shebs

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).