Testing the compiler

After installing and configuring the EMSDK, you'll need to test it to ensure you're able to generate Wasm modules from C/C++ code. The easiest way to test it is to compile some code using the emcc command and try running it in a browser. In this section, we'll validate the EMSDK installation by writing and compiling some simple C code and evaluating the Wat associated with the .wasm output.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset