Граф коммитов

231 Коммитов

Автор SHA1 Сообщение Дата
Alon Zakai 3a156a34e8 get almost all of embind test passing 2012-10-12 16:26:22 -05:00
Alon Zakai 217dbc2b3f embind integration in emcc and work towards a test 2012-10-12 15:40:12 -05:00
Alon Zakai 6a1702024c Merge branch 'master' into incoming 2012-10-12 14:56:21 -05:00
Alon Zakai f377f670cc indentation fix 2012-10-11 14:00:20 -05:00
Alon Zakai 363ce16a89 ignore and warn on -Os 2012-10-03 12:12:22 -07:00
Alon Zakai 8c53160d51 CONFIGURE_CC option to let you define the compiler used when configure-ing 2012-10-01 11:44:18 -07:00
Lars Schneider 0c33345f22 Add emcc option "--split <size>" to split javascript file.
Splits the resulting javascript file into pieces to ease debugging.
This option only works if Javascript is generated (target -o <name>.js).

Files with function declarations must be loaded before main file upon execution.

Without "-g" option:
Creates files with function declarations up to the given size with the suffix "_functions.partxxx.js" and a main file with the suffix ".js".

With "-g" option:
Recreates the directory structure of the C source files and stores function declarations in their respective C files with the suffix ".js". If such a file exceeds the given size, files with the suffix ".partxxx.js" are created. The main file resides in the base directory and has the suffix ".js".
2012-09-26 19:30:19 +02:00
Alon Zakai 76c1195061 show warning about absolute paths only once 2012-09-21 17:53:05 -07:00
Alon Zakai 2210898ef5 -s docs in emcc 2012-09-21 17:36:22 -07:00
Janus b3039131e6 add conftest.c flag passing test and use right indenting 2012-09-20 14:32:26 +02:00
Janus 4b9f7c1c55 don't pass EMCC specific flags on when configuring using clang 2012-09-18 19:52:45 +02:00
Alon Zakai 1c993f99f1 clearer error message when a crucial llvm tool is missing, and force sanity checks in EMCC_DEBUG mode 2012-09-13 17:24:50 -07:00
Alon Zakai 103314ffaf make all temp files be in TEMP_DIR from ~/.emscripten 2012-09-12 18:59:58 -07:00
Alon Zakai 94a0cb1ccd --clear-cache option 2012-08-30 16:42:34 -07:00
Alon Zakai f35fa61a20 disable precise i32 multiplication even in -O0: too slow 2012-08-25 14:10:09 -07:00
Alon Zakai c14a675125 PRECISE_I32_MUL option for full precision in 32-bit multiply 2012-08-25 11:26:47 -07:00
Alon Zakai f4b1d25451 remove mentions of obsolete emld 2012-08-22 21:03:07 -07:00
Alon Zakai 1f666759fe warn on -I and -L to absolute paths, which may be to local system headers/libraries that are not portable 2012-08-18 22:05:23 -07:00
Alon Zakai b74118f69a improve emcc help on --embed and --preload 2012-07-29 16:41:51 -07:00
Behdad Esfahbod e7f8355cff Look into system/local/include and system/local/lib too
Now one can do:

emconfigure ./configure --prefix=/path/to/emscripten/local

And then make install to there, like a real /usr/local.  No
manual bitcode moving.

Now if there  was a way to change default prefix of configure
using an env var...
2012-07-13 15:37:38 -07:00
Alon Zakai d1b22871c3 use unique temp names for libraries too 2012-06-25 18:31:27 -07:00
Alon Zakai 9144e4fe1d minor emcc bugfix 2012-06-25 12:50:30 -07:00
Alon Zakai 27277383aa emcc --remove-duplicates option 2012-06-22 20:50:21 -07:00
Alon Zakai 956c997255 enable previous assertion, properly 2012-06-22 20:28:03 -07:00
Alon Zakai ddd0442f97 disable overly permissive assertion in emcc 2012-06-22 17:17:25 -07:00
Alon Zakai df16a752c4 remove some unneeding emcc printing 2012-06-18 20:07:56 -07:00
Alon Zakai 8140488533 allow multiple pre-js and post-js 2012-06-17 13:24:22 -07:00
Alon Zakai 045eaebb72 move suffix tools to shared 2012-06-16 18:12:02 -07:00
Alon Zakai 52a5e5e9dc accept .obj files as bitcode 2012-06-13 13:50:15 -07:00
Alon Zakai 4fe6e47928 refactor file packaging into standalone tool 2012-06-11 13:19:25 -07:00
Alon Zakai 3eac624d13 use closure-exported FS API for preloading 2012-06-11 11:33:09 -07:00
Alon Zakai 438cd93067 allow --preload-file when generating .js, which assumes the .js will be used in a web page 2012-06-11 11:13:37 -07:00
Alon Zakai 41a99b2871 remove GENERATING_HTML, it was confusing and gave little or no benefit 2012-06-11 10:32:42 -07:00
Alon Zakai 9d720befae emcc note on preloading and .data 2012-06-10 21:48:00 -07:00
Alon Zakai b0b7cee27f treat -s not before OPT=VALUE as a linker option 2012-05-31 11:59:42 -07:00
Alon Zakai 7b9855c062 update year in emcc 2012-05-24 11:15:06 +02:00
Alon Zakai d4cfd7a658 support emcc -v with no further arguments 2012-05-18 11:47:41 -07:00
Alon Zakai d3ed0aeb78 speed up O1 by removing unnecessary eliminator pass 2012-05-12 09:59:46 -07:00
Alon Zakai dcb1a7a14c FS.createPreloadedFile 2012-05-11 10:42:53 -07:00
Alon Zakai a7590b8609 handle absolute paths in file preloading 2012-05-08 20:35:37 -07:00
Alon Zakai bfc041b6b5 workaround for chromium bug 124926 to prevent hanging when loading audio in chrome 2012-05-04 18:12:53 -07:00
Alon Zakai f60dc11a02 link files in emcc without leaving a stub 2012-05-02 21:53:08 -07:00
Alon Zakai ce09542f72 -v in emcc 2012-04-26 11:41:50 -07:00
Alon Zakai 6799e19b3d add ENV_PREFIX to more places 2012-04-24 17:02:43 -07:00
Alon Zakai b5e53f4e17 --js-library option to make it easy to add additional library_*.js files 2012-04-13 18:57:41 -07:00
Sigmund Vik 8a93b915fc Make more browser tests work for Windows. 2012-04-13 15:51:19 +02:00
Alon Zakai ae1cb6d7ec handle identical basenames in emcc properly; fixes #287 2012-04-07 20:42:02 -07:00
Alon Zakai 7af9a2d81c improve fake precompiled header workaround in emcc 2012-04-07 18:32:06 -07:00
Alon Zakai c677d9e446 Merge pull request #346 from behdad/outgoing
Misc fixes
2012-04-04 11:11:43 -07:00
Sigmund Vik 5600f6c264 Fixed shlex.split() problem for Windows. 2012-04-04 18:25:09 +02:00