Skip to content

Instantly share code, notes, and snippets.

@juj
Created February 26, 2019 13:38
Show Gist options
  • Save juj/7f93c8e0a037d0526af900771e778afa to your computer and use it in GitHub Desktop.
Save juj/7f93c8e0a037d0526af900771e778afa to your computer and use it in GitHub Desktop.
Install Emscripten
# Install:
cd ~
git clone https://github.com/emscripten-core/emsdk.git
cd emsdk
./emsdk install sdk-incoming-64bit
./emsdk activate sdk-incoming-64bit
source ./emsdk_env.sh
# Build:
cd emscripten/incoming
em++ tests/hello_world.cpp -o hello_world.js
# Run:
node hello_world.js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment