This is helpful, thanks!

On Friday, September 5, 2014 12:32:05 PM UTC-7, Floh wrote:
>
> 'm' is the GCC math lib (usually linked with -lm), I think you can ignore 
> this in emscripten, since this is part of the C runtime which is 
> automatically linked the right way.
>
> fftw3f seems to a a fast-fourier-transform lib, this would have to be 
> compiled with emscripten from source into a .a file in order to be usable, 
> this is usually easy if the code only uses C runtime functions.
>
> X11 dependencies can be tricky or even a show stopper. For rendering, 
> emscripten offers SDL and OpenGL support. If the project has a complex UI 
> you might be out of luck. If it only does simple 2D rendering may be you 
> could port the rendering code to SDL. If the project OpenGL for rendering, 
> only very few or no changes are necessary, but I guess in this case, GL 
> would also be listed as dependency.
>
> Hope this helps :)
> -Floh.
>
> Am Freitag, 5. September 2014 20:52:10 UTC+2 schrieb Robert Clawson:
>>
>> edit: I know this is a question may require a very broad answer. I'm just 
>> looking for some high level guidance. Thanks!
>>
>> On Friday, September 5, 2014 11:44:05 AM UTC-7, Robert Clawson wrote:
>>>
>>> The C library I'm try to port to JavaScript has three library 
>>> dependencies listed in the subject. 
>>>
>>>
>>> What do I need to do to get my code to compile?
>>>
>>

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