Port-mips archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Running o32 code
In article <20161007074022.GA17121%SDF.ORG@localhost>, <coypu%SDF.ORG@localhost> wrote:
>These options are in fact needed:
>
>% gcc -mabi=32 asd.c
>% ldd a.out
>a.out:
> -lc.12 => /usr/lib/libc.so.12
>
>which is a minor inconvenience, but this other one's a bug:
>
>% nm -u /libexec/ld.elf_so-o32
> U __udivdi3
>
>I imagine that ld.elf_so can't itself link to libc :-)
>
>However, ld.elf_so is a shared object (I understand it needs to be
>and that I can't mix static & shared on MIPS.)
>How can I convince it to pull in the definition of __udivdi3 from
>libc while still making a shared object?
Fixed.
christos
Home |
Main Index |
Thread Index |
Old Index