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

Hendrik Sattler post at hendrik-sattler.de
Thu Jan 28 10:03:21 EST 2010


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.

HS




More information about the CMake mailing list