wut/README.md

36 lines
1.2 KiB
Markdown
Raw Normal View History

2018-05-22 23:08:13 +01: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 13:32:58 +01:00
2015-12-27 02:15:51 +00:00
# wut
Let's try make a Wii U Toolchain / SDK for creating rpx/rpl.
2015-12-27 02:18:13 +00:00
Licensed under the terms of the GNU General Public License, version 2 or later (GPLv2+).
2018-05-22 23:08:13 +01: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 16:17:42 +00:00
2018-05-22 23:08:13 +01:00
## TODO:
2018-05-25 11:31:38 +01:00
- Maybe add fopen for sdcard ?
2017-03-23 12:19:27 +00:00
2018-05-22 23:08:13 +01:00
## 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
2018-05-22 23:08:13 +01:00
cmake -DCMAKE_INSTALL_PREFIX=/path/to/install ../
make
2017-04-08 17:25:08 +09:30
make install
2018-05-22 23:08:13 +01:00
export WUT_ROOT=/path/to/install
```
2018-05-22 23:08:13 +01:00
Then for any wut project you want to build you must use the wut.toolchain.cmake script:
```
cd ../samples/helloworld
mkdir build && cd build
2018-05-22 23:08:13 +01:00
cmake -DCMAKE_TOOLCHAIN_FILE=$WUT_ROOT/share/wut.toolchain.cmake ../
make
```