welcome to www.hangar-eleven.de - your premier resource for console development





Development Env

Installing Cygwin

Building SH4 toolchain
Making Binutils
Making crossGCC
Making Newlib
Making final crossGCC

Building ARM toolchain
Making Binutils
Making crossGCC

Compiling KallistiOS

Testing KOS and the Compilers
Writing the first program
Compiling the first program
Uploading to the Dreamcast
DC-Tool
Serial Slave

Making a CD

Back to News

 

  Building the ARM GCC toolchain
  Written: February 1st, 2001 @ 20:36 GMT By: Thorsten Titze
 
 

After we built the GCC toolchain for the Dreamcasts Hitachi SH4 processor we still have one more processor which we may be needed to program. It's the ARM processor which is used by the Dreamcast for sound-processing.

We will use the same directory structure we already used for building the SH4 toolchain which looks like this:

GCC
build-binutils
build-gcc
build-newlib
binutils-2.11.2
gcc-3.0.3
newlib-1.9.0

Now everything is set to compile the whole xGCC toolchain for the ARM processor.

IMPORTANT:
(just in case you're doing the whole compilation stuff not in one)
In case any compile process throws errors concerning a variable called sys_errlist (it being declared twice) you have to change the file /usr/include/sys/errno.h.

Search for the variable in question and change the following lines to:

/* Please don't use these variables directly.
Use strerror instead. */
// extern __IMPORT _CONST char * _CONST _sys_errlist[];
extern __IMPORT int _sys_nerr;
#ifdef __CYGWIN__
// extern __IMPORT const char * const sys_errlist[];

  Go to the sourceforge homepage of KallistiOS

Back to Dreamcast Development Main


DISCLAIMERS:
Website Design © 2002 by Thorsten Titze / hangar-eleven.de
(the pictures used for the design were taken from a WindowsXP Skin and WindowsXP)
All brand names used on this site are registered trademarks of their respective owners
No copyright infringement is intended
Last updated @ 22-Feb-2002 2:19 PM Contact me via eMail