Akos Kiss d39c4187fb Fix the OSX build
Apple does not support staticaly built applications on OSX, and all
dynamically built apps have to be linked against the System lib
(i.e., `-static` should not be used and `-lSystem` is a must).
As System contains all libc and libm functions, building (and
linking) the minimal jerry-libc and jerry-libm libs makes no sense.
Moreover, if JERRY_LIBC is ON, the compiler will use the jerry-libc
headers but will link the libc functions from System, which causes
heavy confusion and segfaults at run time.

Thus, this patch changes the build system to disable the building
of jerry-libc and jerry-libm, and enables the use of system
libraries when building on OSX.

JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu
2016-08-15 12:39:09 +03:00
2016-08-14 22:35:31 +02:00
2016-08-11 22:49:36 +02:00
2016-08-15 12:39:09 +03:00
2016-02-05 13:37:16 +01:00
2016-02-05 13:37:16 +01:00

JerryScript: JavaScript engine for the Internet of Things

License Build Status

JerryScript is a lightweight JavaScript engine for resource-constrained devices such as microcontrollers. It can run on devices with less than 64 KB of RAM and less than 200 KB of flash memory.

Key characteristics of JerryScript:

  • Full ECMAScript 5.1 standard compliance
  • 160K binary size when compiled for ARM Thumb-2
  • Heavily optimized for low memory consumption
  • Written in C99 for maximum portability
  • Snapshot support for precompiling JavaScript source code to byte code
  • Mature C API, easy to embed in applications

Additional information can be found on our project page and Wiki.

IRC channel: #jerryscript on freenode
Mailing list: jerryscript-dev@gna.org, you can subscribe here and access the mailing list archive here.

Quick Start

Getting the sources

git clone https://github.com/Samsung/jerryscript.git
cd jerryscript

Building JerryScript

python tools/build.py

For additional information see Getting Started.

Documentation

License

JerryScript is Open Source software under the Apache License 2.0. Complete license and copyright information can be found in the source code.

Copyright 2015 Samsung Electronics Co., Ltd.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Description
Ultra-lightweight JavaScript engine for the Internet of Things.
Readme Apache-2.0 77 MiB
Languages
C 70.5%
JavaScript 25.1%
Python 2.7%
CMake 1%
Shell 0.5%