javascript - Emscripten: emmake generating .js files -


according emscripten docs

make generates linked llvm bitcode. not automatically generate javascript during linking because files must compiled using same optimizations , compiler options — , makes sense in final conversion bitcode javascript.

which great , want do. however, running emscripten compile openjpeg .jp2 library generates 4 uncompressed (-o0) .js files in 5-6mb range, , 3 identical bytecode .so files of 514kb, don't seem contain code need. when run them through emcc come out 141kb, without _main function or recognizable, , don't behave same other .js files.

what need change generate correct bytecode emmake command rather .js files?

emcmake cmake completes ok , emmake make works, don't have option try various optimizations or of options emcc give.

i'm attempting compilation on lubuntu 15.04 in vbox under win 8. first emscripten project other tutorials. i'm not familiar c or c++ or compilation in general (though can compile project linux applications no problems).

i'm aware of j2k.js, i'm looking obj_compress, not obj_decompress.


Comments

Popular posts from this blog

Fail to load namespace Spring Security http://www.springframework.org/security/tags -

sql - MySQL query optimization using coalesce -

unity3d - Unity local avoidance in user created world -