Ok i found the file, it was in hidden directiory .lib and it contains LLVM 
IR bitcode
So if I can tak you a moment:

" link it in with your main c++ (just add it as another input to emcc)."
this part is a bit mystery for me.

I use simple C, and C make to link.
I tired 
target_link_librareis but it doesnt work :/

Thank you for your time
Peter

W dniu wtorek, 28 sierpnia 2018 19:19:59 UTC+2 użytkownik Peter napisał:
>
> Hello,
>
> I am looking every where to find answear how to link propertly library to 
> my project.
>
> I want to use some function from GSL.
> I downloaded GSL source and run:
> ./emconfigure ./configure
> ./emmake make
> i got
> ignoring dynamic library libgsl.so because no compiling to JS or HTML, 
> remember to link it when compiling to JS or html at the end
> ignoring dynamic library libgslcblas.so because no compiling to JS or 
> HTML, remember to link it when compiling to JS or html at the end
>
> but i got some file a.out and a.out.js
>
> I want to use some function from GSL in C project
>
> like #include<gsl/gsl_math.h>
>
> i am using C_make there, 
> and i want it to compile project  to JS
>
> What should i do next because I simply don't understand.
> Should I use output file from GSL or compile it togheter?
>
> Sorry for taking you time and thx:
> Peter
>

-- 
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