See

http://mozakai.blogspot.com/2014/06/looking-through-emscripten-output.html

for info about code size and how to find the functions you want. You might
be able to manually extract your code, if it does not depend on runtime
support.

- Alon



On Wed, Jun 18, 2014 at 7:46 AM, <[email protected]> wrote:

>
>      I want to convert a function(writen in .c)  to javascript, and used 
> ./emcc
> XXXX.c -o function.html -s EXPORTED_FUNCTIONS="['_XXXX']".  But I found the
> function.js is too larger than XXX.c, there are many functions which
> depends on runtime. I only want to get the function writen in javascript,
> who can help me, thank you!
>
> --
> 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.
>

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