So it does. :-( I knew I was missing something obvious. Thanks! My problem is/was down to the fact that the C part of the app is in effect a library and all action is triggered from the controlling wrapper -- which for JS version is an HTML page. Hence doing FS initialisation from within C code is... um... inconvenient. :-) But now that you've pointed out the problem, I realise that I might as well relocate all of it into JS of the web page, splitting the onload-triggered init() into two, which makes life conceptually much simpler. And it works.
Emscripten is *amazing*! I never thought pointing it at my 80,000 lines of C with longjmp() dependency would result in anything useful. It just blew me away when all worked straight away, other than, as one might expect, persistent storage. Thanks again. -- 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.
