That's great. Exactly what I need. I was looking in the emscripten code I had locally which was v1.23 which didn't have this yet.
Thanks!

Pepijn

On 18/11/14 16:05, Jukka Jylänki wrote:
There exists an explicit linker flag -s NO_FILESYSTEM=1 that can be passed to remove the filesystem code, see https://github.com/kripken/emscripten/blob/master/src/settings.js#L367 .

2014-11-18 16:05 GMT+02:00 Pepijn Van Eeckhoudt <[email protected] <mailto:[email protected]>>:

    Hi all,

    I'm currently trying to compile libtiff and package it as an AMD
    module. In order to reduce the size of the generated javascript
    file I'm trying to avoid pulling in the filesystem emulation code.
    I've ensured that the compiled code doesn't make use of any file
    descriptor based I/O functions (directly or indirectly), but FS,
    IDBFS, ... all keep getting included by the linker. Is there any
    easy way to debug the linking process? Something like a dump of
    the graph of dependencies? If not, could someone provide a pointer
    to the relevant part(s) of the emscripten code where symbol
    dependencies get resolved?

    Thanks,

    Pepijn

-- 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]
    <mailto:emscripten-discuss%[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] <mailto:[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