Alon Zakai
48447d1ece
typo
2012-12-07 14:23:20 -08:00
Alon Zakai
3c642441a9
do registerize in asm.js+reloop mode, as an alternative to closure
2012-12-07 14:23:20 -08:00
Alon Zakai
1b591a0b0c
add eliminator mode for asm
2012-12-07 14:23:19 -08:00
Alon Zakai
a917909969
disable closure when ASM_JS
2012-12-07 14:23:19 -08:00
Alon Zakai
b0b611c9f7
add parts of system bitcode libraries when necessary, and refactor library inclusion decision code
2012-12-07 12:32:49 -08:00
Alon Zakai
4df6589efa
Merge pull request #735 from eclecticdave/emcc_so_fix
...
Fixes to emcc to make autoconf enable shared objs
2012-12-04 16:45:57 -08:00
Alon Zakai
c735bb6469
do not apply -l if not generating an executable or a library
2012-12-03 14:30:09 -08:00
Alon Zakai
30f484d68f
ignore argument after -I -L for purposes of input detection in emcc
2012-12-03 13:36:37 -08:00
David Claughton
5d48629cf0
Fixes to emcc to make autoconf enable shared objs
...
When using emcc as a linker, autoconf disables
shared object support. This is because it expects
the text returned by the -v and --help options to
match certain things that GNU ld prints.
Specifically it expects the output of emcc -v to include
the word 'GNU' and the output of emcc -v to match the
regexp ': supported targets.* elf'
Modified the messages returned by emcc for these options
to make autoconf happy.
2012-11-30 21:56:00 +00:00
Alon Zakai
fc56ff9c04
fix test_failure_error_code
2012-11-23 16:38:47 +01:00
Alon Zakai
453ec4adfa
jcache docs
2012-11-23 14:15:24 +01:00
Alon Zakai
b74207976b
print out total time in emcc in debug mode
2012-11-21 20:47:02 +01:00
Alon Zakai
db65c00f8e
fix missing jcache passing
2012-11-21 20:47:02 +01:00
Alon Zakai
f199880bb1
set up parameter passing for jcache
2012-11-21 20:47:01 +01:00
Alon Zakai
ed6571e237
return error code on no input files
2012-11-15 11:46:01 -08:00
Jukka Jylänki
4ab1c8acec
Python system command line may come with untrimmed items at least on Windows Vista, cmake is bad at producing these, so trim off the excessive spaces before working on the command line. Fixes other.test_cmake on Windows Vista build bot.
2012-11-14 18:44:23 +02:00
Alon Zakai
587a1b3fdf
forward -v to child processes
2012-11-13 17:42:35 -08:00
Jukka Jylänki
4f25d496a1
Don't pass all emcc command line inputs e.g. those of form '-DsomeDefine=1' etc. to shared.Building.is_ar() for testing whether a file by that name is a LLVM archive file.
2012-11-12 21:14:37 +02:00
Alon Zakai
d27357b5fe
cleanup
2012-11-09 16:27:26 -08:00
Alon Zakai
a38333433a
stop doing old-relooper-related js optimizer passes
2012-11-08 18:30:49 -08:00
Alon Zakai
f0c024d982
refactor link time opts code
2012-11-07 11:39:54 -08:00
Alon Zakai
f033c67b5c
split up js optimizer passes only in EMCC_DEBUG=2, not 1
2012-11-07 10:57:41 -08:00
Alon Zakai
466af17eb9
strip debug info in -O1 and above by default, unless -g is specified when converting to JS, since (1) js optimizations strip it anyhow, and (2) it slows down compilation
2012-11-07 10:32:54 -08:00
Alon Zakai
7dee40c6bb
fix temp dir in emcc
2012-11-06 20:59:08 -08:00
Alon Zakai
6f9780c50e
more non-clang configure fixes for configure tests
2012-10-29 18:52:23 -07:00
Alon Zakai
99fb6b9b81
more non-clang configure work and debugging tools
2012-10-29 18:10:35 -07:00
Alon Zakai
83faf34660
configure debugging tools
2012-10-29 17:25:42 -07:00
Alon Zakai
dcc877f3bd
add experimental and non-enabled non-clang configure mode
2012-10-28 15:23:56 -07:00
Alon Zakai
ed88bc7051
memory growth must be manually enabled with ALLOW_MEMORY_GROWTH, in which case the eliminator runs in safe mode
2012-10-27 20:07:07 -07:00
Alon Zakai
d6e695eb2b
comment on -O3
2012-10-26 17:53:46 -07:00
Alon Zakai
94ee68349b
integrate eliminator as js optimizer pass
2012-10-23 17:35:37 -07:00
Alon Zakai
2781c7dca6
report times of passes in EMCC_DEBUG
2012-10-20 17:48:35 -07:00
Alon Zakai
844faf36eb
do not include C library in shared library 2
2012-10-17 12:43:59 -07:00
Alon Zakai
922608f31f
build libcxx and libcxxabi using direct commands, not a makefile, to make this more easily portable to windows where make is not always present
2012-10-13 17:10:01 -07:00
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