Skip to content

Commit 5845f13

Browse files
committed
added readme to zlibtest
1 parent 4284a29 commit 5845f13

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

test/zlibtest/readme.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
To compile this file
2+
3+
emcc zlibtest.cpp -s USE_ZLIB=1 -o test.html
4+
5+
The first time you compile emcc should *automatically* retrieve/unpack/build the needed zlib.bc
6+
7+
In my case it wrote something like:
8+
9+
MacCignoni:zlibtest cignoni$ emcc zlibtest.cpp -s USE_ZLIB=1 -o test.html
10+
WARNING:root:retrieving port: zlib from https://github.com/emscripten-ports/zlib/archive/version_1.zip
11+
WARNING:root:unpacking port: zlib
12+
WARNING:root:generating port: zlib.bc...
13+
WARNING:root: ok
14+

0 commit comments

Comments
 (0)