Thank you for your replay.
I found a file in hidden directory ./libs
I contains libgsl.a and libgsl.so.23.1.0
When i compile my project to .a is it good to use libgsl.so?

as you told i moved libgsl.so to my project:

"$emcc" libgsl.so libat.a -o libat.html -s WASM=1 -s EXPORTED_FUNCTIONS="$funs" 
\
-s EXTRA_EXPORTED_RUNTIME_METHODS='["ccall", "cwrap"]'


1. I still get error that 'gsl/gsl_math.h' file not found.
You was talking about "link it in with your main c++ "
I don't get it how ;/
I want my library also be as most C as it can be so I want to link it 
without changing file by file, (i use C)

2. EXPORTED_FUNCRTIONS, is there a flag to export all functions or i have 
to create this by my own?



-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to