> > So, I spend some time with Interix again. (I fear I'll have to use > Windows not so long from now, so who knows it can save me...)
Hehehe *evil smile* :) > <snip> > > bash-3.2$ objdump > objdump: error in loading shared libraries > libopcodes-2.18.so: cannot open shared object file: No such file or > directory > > That just feels like rpath is messed up for binutils. Now it seems > that > binutils on Interix doesn't build ld and as, but includes them from the > host. That explains why they do work, but fairly any other tool, and > libbfd are broken. I cannot find and tool like ldd on Interix, and I > haven't tried to compile scanelf, as I wonder if it's ELF at all > (binutils says something like: ELF-like)... No, it's not ELF :) it's PE, just like any other binary on windows. > > So, for those experts of you, wasn't it a good thing to install > binutils? Is there something missing? What is the reason ld and as > aren't compiled? The "PE" ist the reason for not building as and ld. It simply doesn't work right now (because whats called PE from binutils POV is mingw/cygwin). Microsoft has binutils 2.17 patched for interix in interix 6.0 (with sources/patches available), but the patch is absolutely unportable to 2.18 *arg...*, and in some places looks really hack-ish... still, maybe using binutils 2.17 would be an option... Maybe you want to have a look at http://prefix-launcher.svn.sourceforge.net/viewvc/prefix-launcher/eprefix-bootstrap/trunk/eprefix-bootstrap?view=markup. There i fixed all those issues you stumbled upon that don't belong in the tree (where the rest is ;)), and i think it's quite readable (also the binutils problem is fixed, though a little hackish too :)) Cheers, Markus > > > -- > Fabian Groffen > Gentoo on a different level > -- > [email protected] mailing list
