All Projects → Samsung → node-jerryscript

Samsung / node-jerryscript

Licence: other
JS runtime based on JerryScript

Programming Languages

javascript
184084 projects - #8 most used programming language
C++
36643 projects - #6 most used programming language
python
139335 projects - #7 most used programming language
c
50402 projects - #5 most used programming language
HTML
75241 projects
Makefile
30231 projects

node-jerryscript

Build & test instructions

  1. Run the appropriate configure command:
  • x86 configuration:
$ ./configure --without-dtrace --without-etw --without-perfctr \
    --without-ssl --without-inspector --without-intl --without-snapshot \
    --dest-cpu x86 --without-bundled-v8
  • x64 configuration:
$ ./configure --without-dtrace --without-etw --without-perfctr \
    --without-ssl --without-inspector --without-intl --without-snapshot \
    --dest-cpu x64 --without-bundled-v8
  • ARM32 cross-compile configuration:
$ CC=arm-linux-gnueabihf-gcc CXX=arm-linux-gnueabihf-g++ \
    ./configure --without-dtrace --without-etw --without-perfctr --without-ssl \
    --without-inspector --without-intl --without-snapshot --dest-cpu arm \
    --cross-compiling --dest-os=linux --with-arm-float-abi=hard --with-arm-fpu=neon \
    --without-bundled-v8

The --without-bundled-v8 option was hijacked to force build Node with JerryScript.

  1. Run make . Optionally use make -j4

  2. After build execute the following steps for a "hello" output:

$ echo "console.log('hello');" >> test.js
$ ./node test.js
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].