How to install x32 abi support on Fedora?

How to install x32 abi support on Fedora?

As I m switching distribution, this question is an extension of this problem for getting maximum performance from a cpu hungry program which can t handle 64 bits pointers.

Because the problem isn t just about using the required binutils and compilers.

It also requires libraries like glibc. And so far, not packages contains x32.

答案1

The x32 ABI is not supported by Fedora in any shape or form. No kernel support, no user space support. You're completely on your own.


If you're talking about i386/i686 then unlike Debian you don't have to enable anything, you just go and install the required i686 package or library:

dnf install package-name.i686

All the dependencies will be installed automatically. gcc in Fedora is able to compile i686 binaries out of the box and no i686 version of it exists however if you're going to compile something which depends on libstdc++ you might have to install libgcc.i686.

相关内容