Altera NIOS II Support
Jon Beniston
jon@beniston.com
Fri Mar 20 15:37:00 GMT 2009
Hi,
> But I didn't see anything that would make this a configure option,
> nor a note pointing out that the decision needs to be made
> (just the implication in the #if-else). That is, how does the
> user choose which endianess they're going to build with?
By passing -EB or -EL to GCC, which then defines the relevant macros.
touch foo.h
nios2-elf-cpp -dM foo.h -EB
Will show you what the compiler defines.
Cheers,
Jon
More information about the Newlib
mailing list