doc:dev_blockly
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
doc:dev_blockly [2014/11/02 07:27] – admin | doc:dev_blockly [2015/01/02 14:45] – admin | ||
---|---|---|---|
Line 2: | Line 2: | ||
- | This is more a maintaince handbook for the OOBD team themself as anything the normal developer need to be worried about, so just forget this page | + | This is more a installation scrapbook from the OOBD team themself as anything the normal developer need to be worried about, so just forget this page :-) |
===== Install emscripten ===== | ===== Install emscripten ===== | ||
- | Under Ubuntu 14.04 that's easy: Just install | + | The package under Ubuntu 14.04 is too old (1.10), but we'll need 1.12.1 to have the fastcomp compiler active. The older version generates a ' |
- | sudo apt-get install | + | So download the [[http:// |
| | ||
===== Compile Luac as javascript binary ===== | ===== Compile Luac as javascript binary ===== | ||
Line 26: | Line 26: | ||
CC= emcc | CC= emcc | ||
+ | | ||
+ | make a note of the compiler flags, which are used (e.g. '' | ||
| | ||
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 52: | Line 54: | ||
build luac.js | build luac.js | ||
- | emcc -o luac.js | + | emcc -O2 -Wall -DLUA_USE_POSIX |
test it | test it |
doc/dev_blockly.txt · Last modified: 2015/01/04 15:09 by admin