doc:dev_blockly
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Last revisionBoth sides next revision | ||
doc:dev_blockly [2015/01/02 14:45] – admin | doc:dev_blockly [2015/01/03 18:30] – admin | ||
---|---|---|---|
Line 27: | Line 27: | ||
CC= emcc | CC= emcc | ||
| | ||
- | make a note of the compiler flags, which are used (e.g. '' | + | make a note of the compiler flags, which are used (e.g. '' |
+ | |||
+ | Make sure **not** to use the -DLUA_USE_POSIX directive, because it makes the compiler to use _setjmp/ | ||
| | ||
comment the LIBS directive, as it seems not to be used and creates a warning | comment the LIBS directive, as it seems not to be used and creates a warning | ||
Line 42: | Line 45: | ||
| | ||
emcc: | emcc: | ||
- | $(MAKE) comp MYCFLAGS=-DLUA_USE_POSIX | + | $(MAKE) comp MYCFLAGS= |
Line 54: | Line 57: | ||
build luac.js | build luac.js | ||
- | emcc -O2 -Wall -DLUA_USE_POSIX | + | emcc -O2 -Wall -o luac.js |
doc/dev_blockly.txt · Last modified: 2015/01/04 15:09 by admin