Zitat von Yegor Yefremov <yegor_s...@visionsystems.de>:

Alexander Neundorf wrote:
On Thursday 28 January 2010, Hendrik Sattler wrote:
Zitat von Yegor Yefremov <yegor_s...@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


_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to