diff options
author | Alon Zakai <alonzakai@gmail.com> | 2014-01-27 15:56:59 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2014-01-27 15:56:59 -0800 |
commit | 25e736cbb791da970582666fcaf27b5f7450b3ef (patch) | |
tree | 13c3698d8b1ed986dd9133941895a9ca35c32472 | |
parent | 9694653fd66908a6d135ccc88f44db315133c9d8 (diff) |
improve mem init help text; fixes #2066
-rwxr-xr-x | emcc | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -485,10 +485,13 @@ Options that are modified or new in %s include: libraries, and after any link-time optimizations (if any). - --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 off) + --memory-init-file <on> 0: Do not emit a separate memory initialization + file, keep the static initialization inside + the generated JavaScript as text (default) + 1: Emit a separate memory initialization file + in binary format. This is more efficient than + storing it as text inside JavaScript, but does + mean you have another file to publish. -Wno-warn-absolute-paths If not specified, the compiler will warn about any uses of absolute paths in -I and -L command line |