Re: Make fnstcw work with emscripten

2019-10-12 Thread Diomidis Spinellis
Hi Bruno, On 13-Oct-19 3:21, Bruno Haible wrote: When glibc is compiled with emscripten toolchain for compiling to asm.js and WebAssembly [1] (e.g. as part of groff), You mean gnulib, not glibc? glibc is not built when you compile groff. Yes, I meant gnulib. the compilation fails due to th

Re: Make fnstcw work with emscripten

2019-10-12 Thread Bruno Haible
Hi Diomidis, > When glibc is compiled with emscripten toolchain for compiling to asm.js > and WebAssembly [1] (e.g. as part of groff), You mean gnulib, not glibc? glibc is not built when you compile groff. > the compilation fails due > to the inclusion of assembly code, as shown in the example

Make fnstcw work with emscripten

2019-10-12 Thread Diomidis Spinellis
When glibc is compiled with emscripten toolchain for compiling to asm.js and WebAssembly [1] (e.g. as part of groff), the compilation fails due to the inclusion of assembly code, as shown in the example below. emcc groff.bc -o groff.html In function vasnprintf() void (i16*)* asm sideeffect "fns