Skip to content

Latest commit

 

History

History
9 lines (6 loc) · 306 Bytes

File metadata and controls

9 lines (6 loc) · 306 Bytes

To compile the add code, use the following command:

em++ add.cpp -s EXPORTED_FUNCTIONS="['_add']" -o add.js

To compile the dmath code use the following command: em++ dmath.cc -o dmath.js

To compile the dmath_embind code use the following command: emcc --bind -o dmath_embind.js dmath_embind.cc