Update the webpage (#1593)

JerryScript-DCO-1.0-Signed-off-by: Zsolt Borbély zsborbely.u-szeged@partner.samsung.com
This commit is contained in:
Zsolt Borbély
2017-02-17 15:05:07 +01:00
committed by GitHub
parent b89c74fd39
commit be085d866d
5 changed files with 294 additions and 19 deletions
+34 -3
View File
@@ -54,10 +54,10 @@ python tools/build.py --debug --lto=off
python tools/build.py --cmake-param=CMAKE_PARAM
```
**Set a profile mode (full, minimal)**
**Set a profile mode (ES5.1, subset of ES2015, minimal)**
```bash
python tools/build.py --feature=full|minimal
python tools/build.py --profile=es5.1|es2015-subset|minimal
```
**Use (jerry, compiler-default, external) libc**
@@ -73,7 +73,7 @@ python tools/build.py --jerry-libc=off
- external libc:
```bash
python tools/build.py --jerry-libc=off --compile-flag="-nostdlib -I/path/to/ext-libc/include" --link-lib="-lext-c"
python tools/build.py --jerry-libc=off --compile-flag="-nostdlib -I/path/to/ext-libc/include" --link-lib="ext-c"
```
**Add toolchain file**
@@ -90,6 +90,37 @@ For example the cross-compile to RaspberryPi 2 is something like this:
python tools/build.py --toolchain=cmake/toolchain_linux_armv7l.cmake
```
**Use system memory allocator**
```bash
python tools/build.py --system-allocator=on --jerry-libc=off
```
*Note*: System allocator is only supported on 32 bit systems.
**Enable 32bit compressed pointers**
```bash
python tools/build.py --cpointer-32bit=on
```
*Note*: There is no compression/decompression on 32 bit systems, if enabled.
**Change default heap size (512K)**
```bash
python tools/build.py --mem-heap=256
```
If you would like to use more than 512K, then you must enable the 32 bit compressed pointers.
```bash
python tools/build.py --cpointer-32bit=on --mem-heap=1024
```
*Note*: The heap size will be allocated statically at compile time, when JerryScript memory
allocator is used.
**To get a list of all the available buildoptions for Linux**
```bash