BizHawk/waterbox/libcxx
nattthebear 21cdf5120b
Revamp waterbox build environment and runtime. (#2027)
Create an all new waterbox build environment:
WSL2 + Ubuntu 20.04 LTS (Other linuxes may work)
Musl libc with waterbox customizations
LLVM's libclang-rt, libunwind, libcxxabi, libcxx
Static linking to elf files

Compared with the old system, this is easier to set up a dev env for and easier to update in the future. The executables are larger but produce smaller savestates due to static linking. The modern toolchain means advanced library features and language features that sometimes appear in some upstream cores will be reusable.
2020-05-20 15:34:24 -04:00
..
.gitignore Revamp waterbox build environment and runtime. (#2027) 2020-05-20 15:34:24 -04:00
configure-for-waterbox-phase-- Revamp waterbox build environment and runtime. (#2027) 2020-05-20 15:34:24 -04:00
configure-for-waterbox-phase-0 Revamp waterbox build environment and runtime. (#2027) 2020-05-20 15:34:24 -04:00
configure-for-waterbox-phase-1 Revamp waterbox build environment and runtime. (#2027) 2020-05-20 15:34:24 -04:00
configure-for-waterbox-phase-2 Revamp waterbox build environment and runtime. (#2027) 2020-05-20 15:34:24 -04:00
do-everything.sh Revamp waterbox build environment and runtime. (#2027) 2020-05-20 15:34:24 -04:00
readme.txt Revamp waterbox build environment and runtime. (#2027) 2020-05-20 15:34:24 -04:00

readme.txt

Building and installing libcxx:

1. Clone llvm-project into $BIZHAWKGITROOT/../llvm-project
	* I used eaae6dfc545000e335e6f89abb9c78818383d7ad, which was the tip of origin/release/10.x at the time
2. Come to this folder
3. Run ./do-everything.sh
	* This isn't resumable at all, so if it crashes or you're curious about the process,
	read its source and execute the commands individually.