Is it possible to run both EABI and non-EABI binaries on the same system?

Question

Is it possible to run both EABI and non-EABI binaries on the same system?

Answer

Yes, it is possible. However, running a dual-ABI system requires care. If you have an old-ABI system, and want to run EABI binaries, you have several choices. One option is to link your programs statically, using the -static option. However, linking dynamically is generally a superior approach. CodeSourcery's toolchains use a different dynamic loader (ld.so.3), so it is possible for old-ABI and EABI binaries to coexist. However, you will have to ensure that when you install the EABI libraries you do not overwrite existing libraries, and you will have to set LD_LIBRARY_PATH so that the dynamic loader can find them.


This entry was last updated on 8 March 2013.