libk calls -> libf but for libf is linked by main (for now?)
wasm@deco:~/trydynlib$ make -B emcc -s WASM=0 -s SIDE_MODULE=1 -DLIBF_COMPILE -o libf_so.js libf.c emcc -s WASM=0 -s SIDE_MODULE=1 -DLIBK_COMPILE -o libk_so.js libk.c warning: unexpected number of arguments 0 in call to 'ffunc1', should be 1 emcc -s WASM=0 -s MAIN_MODULE=1 -s RUNTIME_LINKED_LIBS="['libk_so.js', 'libf_so.js']" -o prog.js prog.c warning: unexpected number of arguments 0 in call to 'kfunc1', should be 1 wasm@deco:~/trydynlib$ node prog.js prog! libf.ffunc1 libk.kfunc1 -> 12
Showing
libf.c
0 → 100644
libf.h
0 → 100644
libf_so.js
0 → 100644
Please register or sign in to comment