support for the ARM toolchain
2 posts • Page 1 of 1
I'm trying to compile a modified version of Nintendont, including an extra third-party library. As I understand it, Nintendont's kernel runs on the Wii's Starlet ARM processor and so uses devkitARM for compilation. But this library's autotools-based configuration script detects the architecture as little-endian, due to the preprocessor macro BYTE_ORDER being set to LITTLE_ENDIAN. The Starlet is big-endian, right? Is devkitARM even intended to support the Starlet? Am I just misunderstanding something?
devkitARM defaults to producing little endian code since it's primarily designed to target little endian hardware (GBA, DS, 3DS) - you need to compile with -mbig-endian to produce big endian code which will change __BYTE_ORDER__ appropriately.
Who is online
Users browsing this forum: No registered users and 0 guests