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

 

  Compiling xGCC for ARM platform
  Written: September 17th, 2001 @ 15:36 GMT By: Thorsten Titze
 
 

The ARM sound processor only needs the binutils and the compiler therefore there's no need to compile newlib or anything else for this platform.

  • Set the needed environment variables in your shell with the following commands:
    (you should have already set them if you're going step-by-step through the SH4 toolchain guide)

    target=arm-elf
    prefix=/usr/local/dc/$target
    binaries=$prefix/bin
    PATH=$binaries:$PATH

  • Change to your BUILD-GCC directory

    cd /gcc/build-gcc

  • Clean the build directory

    make clean

  • Configure your makefile so that it reflects your TARGET and DIRECTORIES

    ../gcc-3.0.3/configure --target=$target --prefix=$prefix --without-headers --with-newlib --enable-languages=c

  • Start the make-procedure including install

    make all install

Now you have your final ARM-GCC Compiler sitting in /usr/local/dc/arm-elf/bin.

  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