1 |
> |
2 |
> So, I spend some time with Interix again. (I fear I'll have to use |
3 |
> Windows not so long from now, so who knows it can save me...) |
4 |
|
5 |
Hehehe *evil smile* :)
|
6 |
|
7 |
> |
8 |
<snip>
|
9 |
> |
10 |
> bash-3.2$ objdump |
11 |
> objdump: error in loading shared libraries |
12 |
> libopcodes-2.18.so: cannot open shared object file: No such file or |
13 |
> directory |
14 |
> |
15 |
> That just feels like rpath is messed up for binutils. Now it seems |
16 |
> that |
17 |
> binutils on Interix doesn't build ld and as, but includes them from the |
18 |
> host. That explains why they do work, but fairly any other tool, and |
19 |
> libbfd are broken. I cannot find and tool like ldd on Interix, and I |
20 |
> haven't tried to compile scanelf, as I wonder if it's ELF at all |
21 |
> (binutils says something like: ELF-like)... |
22 |
|
23 |
No, it's not ELF :) it's PE, just like any other binary on windows.
|
24 |
|
25 |
> |
26 |
> So, for those experts of you, wasn't it a good thing to install |
27 |
> binutils? Is there something missing? What is the reason ld and as |
28 |
> aren't compiled? |
29 |
|
30 |
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...
|
31 |
|
32 |
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 :))
|
33 |
|
34 |
Cheers, Markus
|
35 |
|
36 |
> |
37 |
> |
38 |
> -- |
39 |
> Fabian Groffen |
40 |
> Gentoo on a different level |
41 |
> -- |
42 |
> gentoo-alt@l.g.o mailing list |