[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gcl-devel] libbfd now in 2.5.0

From: Camm Maguire
Subject: Re: [Gcl-devel] libbfd now in 2.5.0
Date: 11 Jan 2002 13:19:17 -0500


robert read <address@hidden> writes:

> * Camm Maguire (address@hidden) [020107 20:26]:
> > Greetings, all!  Just a heads up that preliminary support for libbfd
> > portable relocations is in 2.5.0.  Right now, its a compile time
> > option depending on your having binutils-dev available, and is
> > introduced through sfaslelf.c for 32-bit elf.  Eventually I'd like to
> > have it used as a separate fasl file for 32-bit and 64-bit elf and
> > coff, all of which are supported by the lib.  I think these are the
> > only binary formats we'll ever have to support.  
> Unfortunately, this may not be the case. Darwin doesn't use elf, it
> uses Mach-O.  There is some old support for this format in the NeXT
> code, but doesn't build, no surprise.  My next task is to see Darwin
> uses gnu binutils or something else.  It's possible mach-o will be
> supported by bfd on darwin.

OK, I did a quick check, but nothing definitive yet.  From the bfd
configure script:

darwin* | rhapsody*)
  lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared 
  lt_cv_file_magic_cmd='/usr/bin/file -L'
  case "$host_os" in
  rhapsody* | darwin1.012)
  *) # Darwin 1.3 on

Also, 3 mach source files, but one of them specifically stating that
it does not cover Mach-O.  From i386mach3.c:

/* This is for Mach 3, which uses a.out, not Mach-O.  */

So it would be interesting to see if you could build the binutils for
MacOS.  I'd be surprised if you could not, given how much Darwin is
reported to be able to run free software.  Please let me know if you
learn anything here.

> > So please try it out,
> > as I'm hoping it will be ubiquitous.
> It worked for me here on SuSE (x86).


> robert

Camm Maguire                                            address@hidden
"The earth is but one country, and mankind its citizens."  --  Baha'u'llah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]