Skip to content

Latest commit

 

History

History
47 lines (36 loc) · 1.35 KB

README.md

File metadata and controls

47 lines (36 loc) · 1.35 KB

Cheerp: A C++ compiler for the Web

Please report bugs on GitHub: https://github.com/leaningtech/cheerp-meta/issues

Cheerp GLES implementation installation

make -C webgles install INSTALL_PREFIX=/opt/cheerp CHEERP_PREFIX=/opt/cheerp

Cheerp helper library for Wasm

make -C wasm install INSTALL_PREFIX=/opt/cheerp CHEERP_PREFIX=/opt/cheerp

Cheerp PreExecuted standard C++ library installation (both generic and asm.js version)

make -C stdlibs install INSTALL_PREFIX=/opt/cheerp CHEERP_PREFIX=/opt/cheerp

Cheerp syscall library installation (only generic js version)

cd system
cmake -B build_genericjs -DCMAKE_INSTALL_PREFIX=/opt/cheerp -DCMAKE_TOOLCHAIN_FILE=/opt/cheerp/share/cmake/Modules/CheerpToolchain.cmake -DCMAKE_BUILD_TYPE=Release .
make -C build_genericjs
make install -C build_genericjs
cd ..

Cheerp syscall library installation (only asm.js version)

cmake -B build_asmjs -DCMAKE_INSTALL_PREFIX=/opt/cheerp -DCMAKE_TOOLCHAIN_FILE=/opt/cheerp/share/cmake/Modules/CheerpWasmToolchain.cmake -DCMAKE_BUILD_TYPE=Release .
make -C build_asmjs
make install -C build_asmjs
cd ..