Port-mips archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Running o32 code
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?
Thanks.
Home |
Main Index |
Thread Index |
Old Index