mirror of
https://github.com/wiiu-env/wut.git
synced 2025-03-01 21:05:24 +01:00
36 lines
1.2 KiB
Markdown
36 lines
1.2 KiB
Markdown
[](https://ci.appveyor.com/project/exjam/wut/branch/rewrite) [](https://travis-ci.org/decaf-emu/wut)
|
|
|
|
# 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.
|
|
|
|
## TODO:
|
|
- Maybe add fopen for sdcard ?
|
|
|
|
## Linux
|
|
Requires CMake + Make + [devkitPPC](https://devkitpro.org/wiki/Getting_Started/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 ../
|
|
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 ../
|
|
make
|
|
```
|