mirror of
https://github.com/devkitPro/wut.git
synced 2026-08-12 20:56:21 -05:00
d315b4bb3495fe3ea7cc3b59abd071dfe072515c
This overwrites malloc and redirects it to alloc from default heap. Also sets __wut_heap_max_size to limit sbrk heap now that malloc no longer uses it.
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
Description
Languages
C
69.8%
C++
29.6%
Makefile
0.4%
CMake
0.1%
Assembly
0.1%