Mail Archives: djgpp/1996/03/31/07:57:12
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 -