Hi All,

Finally, I managed to compile my project (a C library) exporting one 
function, link it with all dependencies (sqlite, zlib, foma, readline) and 
embedding two files. I get the compiled js containing the exported function 
and the two embedded files. However, when trying to check it out with a 
simple html page (see below), I don't get any error just a warning 
"pre-main prep time: 19 ms" but nothing else happens. When I set a 
breakpoint in the exported function, the debugger does not stop there at 
all. Could you please, help me with this?

Here is the html I use:

<script type="text/javascript" src="hi.js"></script>
<script type="text/javascript">
  var Module = {
    onRuntimeInitialized: function() {
      var cmd=Module._hi('list files','ENG');
 window.alert(cmd);
    }
  };
</script>


Thanks&regards,
r0ller

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