Nicolas Forest

about little endian/ big endian

Discussion created by Nicolas Forest on Jul 15, 2008
Latest reply on Jul 15, 2008 by Adam Jackson

Hello,

I have a technical problem. When I compile my project with the software IAR Embedded Workbench I have this error :

"This file should only be compiled in big endian mode" because of the variable __LITTLE_ENDIAN__ == 1 and I go in the loop (file arm7100.h) :

#if __LITTLE_ENDIAN__ == 1
#error This file should only be compiled in big endian mode
#endif

So my question is : Is it possible to change an option in this software for compiling in big endian mode ?

Thank you for your answers.

Outcomes