WiiUPluginSystem/pages/dev/dev_toolchain_setup.md
2018-07-24 14:11:27 +02:00

2.1 KiB

title tags keywords last_updated sidebar permalink folder topnav
Setting up the toolchain
toolchain
toolchain, devkitpro, devkitppc July 24, 2018 dev_sidebar dev_toolchain_setup.html dev topnav

To compile homebrew for the Wii U, you need the devkitPro Toolchain, the offical "getting started" can be found here.

Windows

On Windows you can use the graphical installer to install devkitpro.

After installing you can open MSYS (Start -> devkitPro -> MSYS) and check if the needed packages are installed and on the newest version.

yes | pacman -Syu devkitPPC --needed
yes | pacman -Syu devkitARM --needed
yes | pacman -Syu general-tools --needed

Make sure the following environment variables are set:

DEVKITPRO=/opt/devkitpro
DEVKITARM=/opt/devkitpro/devkitARM
DEVKITPPC=/opt/devkitpro/devkitPPC

Unix

The offical installation guide can be found here: https://devkitpro.org/wiki/Getting_Started#Unix-like_platforms

Basically you need to grab the newest devkitpro pacman version and install the devkitPPC, devkitARM and general-tools package.

Example commands for installing:

# Download newest deb file. (URL might be outdated in the future)
wget https://github.com/devkitPro/pacman/releases/download/devkitpro-pacman-1.0.1/devkitpro-pacman.deb -O /tmp/devkitpro-pacman.deb
# Install it
sudo dpkg -i /tmp/devkitpro-pacman.deb
# Install needed packages
yes | sudo dkp-pacman -Syu devkitPPC --needed
yes | sudo dkp-pacman -Syu devkitARM --needed
yes | sudo dkp-pacman -Syu general-tools --needed

After installing, make sure the following environment variables are set:

DEVKITPRO=/opt/devkitpro
DEVKITARM=/opt/devkitpro/devkitARM
DEVKITPPC=/opt/devkitpro/devkitPPC

Pacman information

More information on how to use pacman can be found here

{% include links.html %}