General info:
https://sites.google.com/site/x32abi/
You must be running these versions at least. Anything older is not supported:
- a 64bit (x86_64) cpu
- if you can run ARCH=amd64, you can run this!
- linux-3.4
- Make you have CONFIG_X86_X32=y enabled
- binutils-2.22
- gcc-4.7.0
- glibc-2.15
- This is temporary and in the future we'll require glibc-2.16
File list:
stage3-amd64-x32-20120605.tar.xz
A Gentoo install with x32 as the native ABI. Unpack, chroot, and gogogogo.
binutils-2.22-r1.tbz2
gcc-4.7.0.tbz2
glibc-2.15-r2.tbz2
linux-headers-3.4.tbz2
These are Gentoo binary packages for x86_64 targets that include the x32 ABI.
You can emerge all of these on your amd64 system to bypass the bootstrap
issue. Then go nuts with `gcc -mx32`.
cross-x86_64-cros-linux-gnu/*
Gentoo binary packages for x86_64 cross-compiler. Probably not interesting
to you if you don't know what this for. They were created with:
crossdev -t x86_64-x32-linux-gnu -A x32
*.patch
Random patches to fix known bugs in random packages.