Support for Wii's big-endian Starlet ARM
Support for Wii's big-endian Starlet ARM
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?
-
- Site Admin
- Posts: 2004
- Joined: Tue Aug 09, 2005 3:21 am
- Location: UK
- Contact:
Re: Support for Wii's big-endian Starlet ARM
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: Bing [Bot] and 7 guests