Dear all,<br><br>To support emscripten, I think we need to compile ECL without threads support. However, currently ECL windows port must be built without threads, as in ecl/ecl.h:<br><br># ifdef ECL_THREADS<br>   typedef HANDLE pthread_t;<br>   typedef HANDLE pthread_mutex_t;<br>   typedef HANDLE pthread_cond_t; /*Dummy, not really used*/<br>#  undef ERROR<br>#  ifdef GBC_BOEHM<br>#   define CreateThread GC_CreateThread<br>#  endif<br># else<br>#  error "The Windows ports cannot be built without threads."<br># endif /* ECL_THREADS */<br><span id="_editor_bookmark_start_36" style="display: none; line-height: 0px;">‍</span><br>I tried to remove "else error..." part but got a compiling error from eval.d, message:<br><br>cl -c /EHsc /DGC_DLL /DGC_BUILD /nologo /D_CRT_SECURE_NO_DEPRECATE /DNDEBUG /MD /O2  -DGC_BUILD -DECL_API="__declspec(dllexport)" -I./ -I../ -I..\..\src\c -I..\..\src/gc/include  -I..\..\src/gc/include/private /Foeval.obj eval.c<br>eval.c<br>../../src/c/eval.d(243) : error C2143: syntax error : missing ';' before ':'<span id="_editor_bookmark_start_81" style="display: none; line-height: 0px;">‍</span><br><br>I haven't looked into this but I'm afraid that there will be more errors poped out after I fixed this.<br><br>Am I on the right track? Or if anyone successfully built ECL without thread support under linux, I would consider switching to linux for emscripten support. But since my home computer runs windows (I won't have time to do this in office), I'd be more happy to continue working under windows.<br><br>- Rujia<br><br><br>