Add a switch to build simple sample without gui support (#126)
* Implement memory profiler, optimize memory usage, modify code indent * Implement memory.grow and limit heap space base offset to 1G; modify iwasm build type to Release and 64 bit by default * Add a new extension library: connection * Fix bug of reading magic number and version in big endian platform * Re-org platform APIs: move most platform APIs from iwasm to shared-lib * Enhance wasm loader to fix some security issues * Fix issue about illegal load of EXC_RETURN into PC on stm32 board * Updates that let a restricted version of the interpreter run in SGX * Enable native/app address validation and conversion for wasm app * Remove wasm_application_exectue_* APIs from wasm_export.h which makes confused * Refine binary size and fix several minor issues Optimize interpreter LOAD/STORE opcodes to decrease the binary size Fix issues when using iwasm library: _bh_log undefined, bh_memory.h not found Remove unused _stdin/_stdout/_stderr global variables resolve in libc wrapper Add macros of global heap size, stack size, heap size for Zephyr main.c Clear compile warning of wasm_application.c * Add more strict security checks for libc wrapper API's * Use one libc wrapper copy for sgx and other platforms; remove bh_printf macro for other platform header files * Enhance security of libc strcpy/sprintf wrapper function * Fix issue of call native for x86_64/arm/mips, add module inst parameter for native wrapper functions * Remove get_module_inst() and fix issue of call native * Refine wgl lib: remove module_inst parameter from widget functions; move function index check to runtime instantiate * Refine interpreter call native process, refine memory boudary check * Fix issues of invokeNative function of arm/mips/general version * Add a switch to build simple sample without gui support
This commit is contained in:
@ -28,6 +28,8 @@ simple/
|
||||
|
||||
- build.sh<br/>
|
||||
The script to build all binaries.
|
||||
- build_no_gui.sh<br/>
|
||||
The script to build all binaries without gui library support.
|
||||
- CMakeLists.txt<br/>
|
||||
CMake file used to build the simple application.
|
||||
- README.md<br/>
|
||||
@ -101,6 +103,9 @@ Build all binaries
|
||||
Execute the build.sh script then all binaries including wasm application files would be generated in 'out' directory.
|
||||
`./build.sh`
|
||||
|
||||
Or execute the build_no_gui.sh script to build all binaries without gui library support.
|
||||
`./build_no_gui.sh`
|
||||
|
||||
Out directory structure
|
||||
------------------------------
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user