[CMake] How to determine a ABI version of the arm-linux-gcc?

Yegor Yefremov yegor_sub1 at visionsystems.de
Fri Jan 29 04:17:39 EST 2010


Alexander Neundorf wrote:
> On Thursday 28 January 2010, Hendrik Sattler wrote:
>> Zitat von Yegor Yefremov <yegor_sub1 at visionsystems.de>:
>>> are these two statements not doubled?
>>>
>>> +#elif defined(__GNU__) && defined(__ELF__) && defined(__ARMEL__)
>>> +# define ABI_ID "ELF ARM"
>>> +#elif defined(__GNU__) && defined(__ELF__) && defined(__ARMEL__)
>>> +# define ABI_ID "ELF ARM"
>> One of them should be __ARMEB__ instead of __ARMEL__, I guess.
> 
> Like "ARM, Endian little" and ".. big" ?

Citation from http://wiki.debian.org/ArmEabiPort:

"Naming

At the Extremadura emdebian meeting, 12-16 April 2006, the name "armel" was chosen. If a bigendian arm EABI port will be created, it will be called "armeb", and it will replace the previous oldabi-based "armeb" port effort."

Yegor


More information about the CMake mailing list