2018-05-23 00:08:13 +02:00
|
|
|
[![Build status](https://ci.appveyor.com/api/projects/status/rjmwygepioxdx1fs/branch/rewrite?svg=true)](https://ci.appveyor.com/project/exjam/wut/branch/rewrite) [![Build Status](https://travis-ci.org/decaf-emu/wut.svg?branch=rewrite)](https://travis-ci.org/decaf-emu/wut)
|
2017-06-02 14:32:58 +02:00
|
|
|
|
2015-12-27 03:15:51 +01:00
|
|
|
# wut
|
|
|
|
Let's try make a Wii U Toolchain / SDK for creating rpx/rpl.
|
|
|
|
|
2015-12-27 03:18:13 +01:00
|
|
|
Licensed under the terms of the GNU General Public License, version 2 or later (GPLv2+).
|
|
|
|
|
2018-05-23 00:08:13 +02:00
|
|
|
## Rewrite
|
|
|
|
This branch is an WIP experimental rewrite to simplify how elf2rpl works and hopefully make it more correct for more advanced C++ programs.
|
2016-01-07 17:17:42 +01:00
|
|
|
|
2018-05-27 13:16:44 +02:00
|
|
|
## Requirements
|
|
|
|
- Custom [devkitPPC](https://github.com/exjam/buildscripts)
|
2017-03-23 13:19:27 +01:00
|
|
|
|
2018-05-23 00:08:13 +02:00
|
|
|
## Linux
|
2018-05-27 13:16:44 +02:00
|
|
|
Requires CMake + Make + [devkitPPC](https://github.com/exjam/buildscripts) + libzdev
|
2017-03-23 13:17:00 +01:00
|
|
|
|
|
|
|
```
|
|
|
|
export DEVKITPPC=<Path to devkitPPC>
|
|
|
|
git clone --recursive https://github.com/decaf-emu/wut.git
|
|
|
|
cd wut
|
|
|
|
mkdir build && cd build
|
2018-05-27 13:16:44 +02:00
|
|
|
cmake -DCMAKE_INSTALL_PREFIX=<path/to/install> -DDEVKITPPC=$DEVKITPPC ../
|
2017-03-23 13:17:00 +01:00
|
|
|
make
|
2017-04-08 09:55:08 +02:00
|
|
|
make install
|
2018-05-27 13:16:44 +02:00
|
|
|
export WUT_ROOT=<path/to/install>
|
2017-03-23 13:17:00 +01:00
|
|
|
```
|
|
|
|
|
2018-05-23 00:08:13 +02:00
|
|
|
Then for any wut project you want to build you must use the wut.toolchain.cmake script:
|
2017-03-23 13:17:00 +01:00
|
|
|
|
|
|
|
```
|
|
|
|
cd ../samples/helloworld
|
|
|
|
mkdir build && cd build
|
2018-05-27 13:16:44 +02:00
|
|
|
cmake -DCMAKE_TOOLCHAIN_FILE=$WUT_ROOT/share/wut.toolchain.cmake -DDEVKITPPC=$DEVKITPPC -DWUT_ROOT=$WUT_ROOT ../
|
2017-03-23 13:17:00 +01:00
|
|
|
make
|
|
|
|
```
|