Re: o32 != n32

James Cowgill <[email protected]>
Newsgroups gmane.linux.debian.ports.mips
Message-ID <[email protected]>
On Thu, 2015-05-07 at 09:27 +0200, Mathieu Malaterre wrote:
> Hello MIPS gurus,
> 
> Could someone please let me know if this is possible to have a
> dual-ABI system (eg: n32 & o32) on MIPS. On my x86-64 system I can run
> a multi-arch system (x86 & x86-64), thanks to the recent multi-arch
> effort.
> 
> Is it possible on MIPS ? Does it make sense ?

If you have a 64-bit kernel then that should completely work (all Debian
kernels except for 4kc are 64-bit).

If you then install gcc-multilib you should be able to pass -mabi=n32 to
gcc to get n32 binaries (or -mabi=64 for n64 binaries). I haven't done a
huge amount of testing with it, but you should also be able to add the
mips64el debian repo which contains everything recompiled with n64. Then
you should be able to do proper multiarch.

See: http://mipsdebian.imgtec.com/

Thanks,
James
signature.asc (application/pgp-signature, 819 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAABCgAGBQJVSyj8AAoJENp9Vyz7AWUH39AP/2HaYA3rogPLyMPEWHcfPuFW
dGrEYdTVsakRWsqH7f4YxO9SQdgsuMR4hsju/u+tZNI1/tyuOsclITQSToZDIqCa
IcBm0q9jMFDeTb2hz2PahoxX5qtSYax9YMxp0BGRAfT4Av8gyCbdOFDBRW5BFeRJ
radUnBu6K/Vczi41HJmcYtwe9EfaUruGU8auSzlHNEHF+iholqSDb4kau6KLTAPm
wtGdB2mLYgVm/lRmuPNauNo9ut3+FE1RKynu7B/JyGn6SyxXnzQouvVB07RlASEB
p5Afyh+xmp4pczROng7wBtlOyIGxPtAfWRNl3ZqeaZh3ouZON0TLMbCuUWhtfrM9
XlqveVyV+kCsk+NSjVFHuFC6s6FApZvzyHzs4WsJ24GJVSRk/gAMzb6C+GKEocxV
8H/eb89Dj5HtEoUbp+uc5l6UcLg+aLA71ewM0uawo7Fs0rgriARcNYTNalXA38rn
A9LJOVlzghY+XkabMD9rgKNHDmf1XET6PmE34opJM7TIp7vbIgkPxzB6NgCSvRH4
vpCqFDoQNJfyXQQKGtblAUmd1hBYMfu/8aBrf4hF5nwFixdLgmYOl7cIJxpV2fWm
42LIySB6OdjT67R72cwsM6FIClCU+P1lSrWD8QV89SGFqomTZUslzQHi7jWwSGFC
BvI5laqs7//omFnx4+0C
=j+Jt
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.