mirror of
https://github.com/wiiu-env/wut.git
synced 2024-12-13 01:22:37 +01:00
Let's try make a Wii U Toolchain / SDK for creating rpx/rpl.
0556f4627b
Not actually required because it is implicitly set when you modify CMAKE_SYSTEM_NAME, but it's nice to be explicit. |
||
---|---|---|
cafe | ||
docs | ||
include | ||
libraries | ||
samples | ||
share | ||
tools | ||
.gitignore | ||
.gitmodules | ||
.travis.yml | ||
appveyor.yml | ||
CMakeLists.txt | ||
LICENSE.md | ||
README.md |
wut
Let's try make a Wii U Toolchain / SDK for creating rpx/rpl.
Licensed under the terms of the GNU General Public License, version 2 or later (GPLv2+).
Rewrite
This branch is an WIP experimental rewrite to simplify how elf2rpl works and hopefully make it more correct for more advanced C++ programs.
Requirements
- The as of yet unreleased devkitPPC r31
Linux
Requires CMake + Make + devkitPPC + libzdev
export DEVKITPPC=<Path to devkitPPC>
git clone --recursive https://github.com/decaf-emu/wut.git
cd wut
mkdir build && cd build
cmake -DCMAKE_INSTALL_PREFIX=<path/to/install> -DDEVKITPPC=$DEVKITPPC ../
make
make install
export WUT_ROOT=<path/to/install>
Then for any wut project you want to build you must use the wut.toolchain.cmake script:
cd ../samples/helloworld
mkdir build && cd build
cmake -DCMAKE_TOOLCHAIN_FILE=$WUT_ROOT/share/wut.toolchain.cmake -DDEVKITPPC=$DEVKITPPC -DWUT_ROOT=$WUT_ROOT ../
make