View unanswered posts | View active topics It is currently Sun Jan 20, 2019 5:50 am

Reply to topic  [ 2 posts ] 
 Support for Wii's big-endian Starlet ARM 
Author Message

Joined: Sat Aug 18, 2018 4:56 am
Posts: 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?

Sat Aug 18, 2018 5:18 am
Site Admin

Joined: Tue Aug 09, 2005 3:21 am
Posts: 1316
Location: UK
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.

Help keep devkitPro toolchains free, Donate today

devkitPro IRC support
Personal Blog

Sat Aug 25, 2018 6:45 pm
Profile ICQ WWW
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

Users browsing this forum: No registered users and 2 guests

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
  Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.
Get devkitPro at Fast, secure and Free Open Source software downloads