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

Alexander Neundorf a.neundorf-work at gmx.net
Thu Jan 28 14:00:54 EST 2010


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" ?

Alex


More information about the CMake mailing list