aboutsummaryrefslogtreecommitdiff
path: root/emcc
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2014-02-07 10:48:58 -0500
committerAlon Zakai <alonzakai@gmail.com>2014-02-07 10:48:58 -0500
commitb286fb5aa3999ab6834f563c3b86bcf558312a00 (patch)
tree39c95af78505ac7ef6116828694504acf6bf5211 /emcc
parente56dbf9e7c329b91f43794320cc01b41f5f65d5a (diff)
comments on --embed-file being inefficient, and recommending --preload-file
Diffstat (limited to 'emcc')
-rwxr-xr-xemcc7
1 files changed, 7 insertions, 0 deletions
diff --git a/emcc b/emcc
index dd329006..67f9bd90 100755
--- a/emcc
+++ b/emcc
@@ -311,6 +311,13 @@ Options that are modified or new in %s include:
If a directory is passed here, its entire
contents will be embedded.
+ Note: Embedding files is much less
+ efficient than preloading them. You
+ should only use it for small amounts
+ of small files. Instead, use
+ --preload-file which emits efficient
+ binary data.
+
--preload-file <name> A file to preload before running the
compiled code asynchronously. Otherwise
similar to --embed-file, except that this