Emscripten With Configure Script Says `long long` is Not Available

113 views Asked by At

When using emconfigure to configure ECL for WebAssembly, the configure script reports:

checking size of long long... not available
checking whether byte ordering is bigendian... no
checking appropiate type for fixnums... configure: error: There is no appropiate integer type for the cl_fixnum type

I compiled a minimal C program that used a long long with emcc and confirmed that it does support it. Why does the configure script detect long longs as unavailable?

1

There are 1 answers

0
zakki On

configure uses a file to get a result, but Emscripten doesn't write to local file system by default.

It would better to port it as some kind of cross compile.