G ++ ABI Compatibility List

I compiled my preboot file on an Ubuntu server (two files for x32 and x64). Where can I get a list where I can see which OS my compiled files are compatible with and what should I recompile for compatibility?

Thanks!

+4
source share
3 answers

Use the Linux App Checker , developed by ISPRAS and the Linux Foundation. It is designed to perform cross-distro compatibility checks for Linux applications. See sample reports here .

enter image description here

+4
source

I would start by trying to run the program on different Linux distributions in a virtual machine. Choose the three most popular Linux distributions or the ones your users are likely to have.

Additionally, you might be better off distributing statically linked binaries and offering the source code to others who want to build it yourself (if you are allowed to distribute the source code).

0
source

I donโ€™t know if I fully understand you, but if my understanding is not so, I start with ldd -v . Any OS compatible with architecture and having dependent libraries installed in compatible versions should work.

Further, if you plan to support more architectures, you need to explicitly know this and cross-compile for each of them.

So, you must recompile: 1. Each other architecture. 2. If the library versions are incompatible.

This last one is more complicated, as your code may require certain versions to work, but you should still know this from the very beginning.

Please tell me if this is not what you wanted.

0
source

All Articles