You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to compile a program, which has been written in C++ to .wasm using cib. Could you please tell me, is it possible to pass compiler options? Maybe in the source code(like we do downloading some .zip files) or in another way?
When I do compilation with emscripten, I'm passing following parameters:
Wasm's linking format is in flux. I only implemented the minimum linker code necessary to reduce what I'll have to throw out when it finally settles down. Right now it doesn't support linking in additional libraries.
@strepkov in [1] you have many precompiled files (with the ending .a). Maybe you just use the source files and include the source files as you did it with armadillo, then compiling needs longer but we do not need to link.
Can you try it out and tell us whether it works.
If there are problems there also exist repositories on github like https://github.com/adrianbg/CLAPACK-WA, which might work if standard clapack does not work in cib.
Hi!
I'm trying to compile a program, which has been written in C++ to .wasm using cib. Could you please tell me, is it possible to pass compiler options? Maybe in the source code(like we do downloading some .zip files) or in another way?
When I do compilation with emscripten, I'm passing following parameters:
emcc.bat, pID.cpp, -o, pID.js, -I"..\armadillo", -s, WASM=1, -s, AGGRESSIVE_VARIABLE_ELIMINATION=1, -s, ALLOW_MEMORY_GROWTH=1, -L., -DARMA_DONT_USE_WRAPPER, -llapack_WIN64, -lblas_WIN64, -llibf2c, -ltmglib_WIN64, -llibfblaswr, -O3, --bind, -std=c++11
How you can see I use additional libraries. If it possible somehow use them during "web compilation"? Thank you in advance.
PS.: This is actually the code, which I'm trying to compile: https://tbfleming.github.io/cib/#gist=9bedf2bb85d1d67cf48454655aff4993
The text was updated successfully, but these errors were encountered: