aboutsummaryrefslogtreecommitdiff
path: root/emcc
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-04-15 10:43:01 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-04-15 10:45:48 -0700
commit17da251d334ce62d633d51f874b92e19ad9dbf45 (patch)
treef240b0624445b456e0ca89ef61cfff82799a9c9a /emcc
parent6ee3943a67687e64f69ed68ce0856ae280061373 (diff)
default memory initializer to off, and add testing coverage
Diffstat (limited to 'emcc')
-rwxr-xr-xemcc8
1 files changed, 4 insertions, 4 deletions
diff --git a/emcc b/emcc
index 03d92fd3..6c7ed2f5 100755
--- a/emcc
+++ b/emcc
@@ -473,7 +473,7 @@ Options that are modified or new in %s include:
--memory-init-file <on> If on, we generate a separate memory initialization
file. This is more efficient than storing the
memory initialization data embedded inside
- JavaScript as text. (default is on)
+ JavaScript as text. (default is off)
The target file, if specified (-o <target>), defines what will
be generated:
@@ -483,8 +483,8 @@ be generated:
<name>.bc LLVM bitcode (default)
<name>.o LLVM bitcode (same as .bc)
-Note that if --memory-init-file is used, then in addition to a
-.js or .html file that is generated, a .mem file will also appear.
+(Note that if --memory-init-file is used, then in addition to a
+.js or .html file that is generated, a .mem file will also appear.)
The -c option (which tells gcc not to run the linker) will
cause LLVM bitcode to be generated, as %s only generates
@@ -727,7 +727,7 @@ try:
bind = False
jcache = False
save_bc = False
- memory_init_file = True
+ memory_init_file = False
if use_cxx:
default_cxx_std = '-std=c++03' # Enforce a consistent C++ standard when compiling .cpp files, if user does not specify one on the cmdline.