You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Additionally I have attempted different configurations with the makefile you supplied, some produced different errors which also did not lead to a successful compilation. Any suggestions are highly appreciated.
One attempt was to remove any configuration and just try emcc emtcl.bc -o emtcl.js which procuded a JavaScript file with just 200kb which does not work.
Here are the files I used and received from the compilation: emtcl_files.tar.gz libtcl8.6.zip
The text was updated successfully, but these errors were encountered:
Hello,
I have been trying for a while to get an emtcl version of tcl 8.6.8 but to no avail. The issues I am facing are:
emcc --post-js js/postJsTcl.js --pre-js js/preJs.js --memory-init-file 0 -O3 --llvm-lto 3 --closure 0 -s EXPORTED_FUNCTIONS="[ '_Tcl_CreateInterp', '_Tcl_Eval', '_Tcl_GetStringResult', $([ 1 = 1 ] && echo "'_CreateDomCmd'," || true) ]"
$([ 1 = 1 ] && echo '-Itcl/generic opt/dom.c' || true) emtcl.bc -o emtcl.js
error: Linking globals named 'strstr': symbol multiply defined!
ERROR:root:Failed to run llvm optimizations:
WARNING:root:Note: Input file "@/tmp/tmpWUh7V9.response" did not exist.
Makefile:38: recipe for target 'emtcl.js' failed
make: *** [emtcl.js] Error 1
Additionally I have attempted different configurations with the makefile you supplied, some produced different errors which also did not lead to a successful compilation. Any suggestions are highly appreciated.
One attempt was to remove any configuration and just try emcc emtcl.bc -o emtcl.js which procuded a JavaScript file with just 200kb which does not work.
Here are the files I used and received from the compilation:
emtcl_files.tar.gz
libtcl8.6.zip
The text was updated successfully, but these errors were encountered: