mirror of
https://github.com/wiiu-env/WiiUPluginSystem.git
synced 2026-09-14 13:06:12 -05:00
first commit
This commit is contained in:
59
pages/dev/dev_toolchain_setup.md
Normal file
59
pages/dev/dev_toolchain_setup.md
Normal file
@@ -0,0 +1,59 @@
|
||||
---
|
||||
title: Setting up the toolchain
|
||||
tags: [toolchain]
|
||||
keywords: toolchain, devkitpro, devkitppc
|
||||
last_updated: July 24, 2018
|
||||
sidebar: dev_sidebar
|
||||
permalink: dev_toolchain_setup.html
|
||||
folder: dev
|
||||
topnav: topnav
|
||||
---
|
||||
|
||||
To compile homebrew for the Wii U, you need the [devkitPro Toolchain](https://devkitpro.org/), the offical "getting started" can be found [here](https://devkitpro.org/wiki/Getting_Started).
|
||||
|
||||
## Windows
|
||||
On Windows you can use the [graphical installer](https://github.com/devkitPro/installer/releases) to install devkitpro.
|
||||
|
||||
After installing you can [open MSYS](https://devkitpro.org/wiki/Getting_Started#Windows) (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](https://github.com/devkitPro/pacman/releases/) and install the `devkitPPC`, `devkitARM ` and `general-tools` package.
|
||||
|
||||
Example commands for installing:
|
||||
```Bash
|
||||
# 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](https://devkitpro.org/wiki/devkitPro_pacman#Using_Pacman)
|
||||
|
||||
{% include links.html %}
|
||||
Reference in New Issue
Block a user