Code::Blocks

From WiiBrew
Jump to: navigation, search

Code::Blocks is an open source IDE. It can be found here. This IDE can be configured with extra compilers. Which makes development for multiple targets easy.

Configuration

For the Wii you need to make a new compiler configuration. Select the "GNU GCC Compiler for PowerPC" and hit "Copy".

Then enter the following configuration: (Replace the paths from H:\ to your devkitpro installation)

CodeBlockCompilerConfig1.jpg

CodeBlockCompilerConfig2.jpg

-mrvl

-mcpu=750

CodeBlockCompilerConfig3.jpg

CodeBlockCompilerConfig4.jpg

GEKKO

CodeBlockCompilerConfig5.jpg

-Wl,-Map,boot.map,--section-start,.init=0x80a00100

-mrvl -mcpu=750

-meabi -mhard-float

CodeBlockCompilerConfig6.jpg

devkitpro/libogc/include

CodeBlockCompilerConfig7.jpg

devkitpro/libogc/lib/wii

CodeBlockCompilerConfig8.jpg

devkitpro/devkitPPC

powerpc-gekko