Nope that's not WASM, most likely the JS "runtime file" that's also
produced.
There should be 3 files when building a WASM "application" with emscripten,
a .html file, a .js file and a .wasm file.
I like to start with a simple test to make sure the emscripten SDK has been
installed correctly, e.g. put this into a hello.c file:
#include <stdio.h>
int main() {
printf("Hello World!\n");
return 0;
}
And then run "emcc hello.c -o hello" on the command line in the same
directory.
This should produce 3 files:
hello.html
hello.js
hello.wasm
When this works the problem must be in the build system files.
Cheers!
On Sunday, 20 January 2019 18:25:01 UTC+1, Shlomi Fish wrote:
>
> Hi all!
>
> I am trying to generate webasm using emscripten from gnu11 code. I am
> getting
> this:
>
> https://www.shlomifish.org/fc-solve-temp/js/libfreecell-solver.min.js
>
> Is this wasm?
>
> I am using
>
> https://github.com/shlomif/fc-solve/blob/master/fc-solve/scripts/Makefile.to-javascript.mak
>
> with ASMJS=0 .
>
> I am asking because
> https://www.shlomifish.org/temp-Solitairey-fc-solve/dest/
> gives intermittent errors.
>
> --
> -----------------------------------------------------------------
> Shlomi Fish http://www.shlomifish.org/
> My Favourite FOSS - http://www.shlomifish.org/open-source/favourite/
>
> Explanations exist; they have existed for all time; there is always a
> well-known solution to every human problem — neat, plausible, and wrong.
> — http://en.wikiquote.org/wiki/H._L._Mencken
>
> Please reply to list if it's a mailing list post - http://shlom.in/reply
> .
>
--
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.