[CMake] How to determine a ABI version of the arm-linux-gcc?
Hendrik Sattler
post at hendrik-sattler.de
Fri Jan 29 06:49:32 EST 2010
Zitat von Yegor Yefremov <yegor_sub1 at visionsystems.de>:
> 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" ?
Yes.
Those lines should either have "&& !defined(__ARM_EABI__) or the EABI
detection should be before those.
> 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."
From a compiler POV, the Debian port naming is not relevant ;)
HS
More information about the CMake
mailing list