delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/03/31/07:57:12

Date: Sun, 31 Mar 1996 22:51:31 +1000
From: cjohns AT awadi DOT com DOT au (Chris Johns)
Message-Id: <9603311251.AA00412@desertoak.awadi>
To: djgpp AT delorie DOT com
Subject: RE: sigv with ld on Linux cross compile

Found the problem. 

Building the binutils makes a bfd shared library. The tools are linked
against this library, how-ever it is the native linux library that is
loaded at run-time. It seems the library built for the djgpp cross
compile and the native linux library are not the same. I copied the
linux library to the bfd directory in the binutils build tree and
built each tool from there directory. The resulting executables work
fine.

I do not know where the problem is, but it proved interesting poking
around in the bfd/ld/nm code. Maybe someone who know the GNU build
system, and/or ELF shared libs could provide a reason.

Chris Johns
AWA Networks

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019