Go to file
2019-06-26 19:27:38 +02:00
data Re-generate the Makefiles 2019-02-20 18:16:32 +01:00
doc Re-generate the Makefiles 2019-02-20 18:16:32 +01:00
include Add array_new_filter{,_swap}() 2018-04-24 01:46:45 +02:00
src Re-generate the Makefiles 2018-12-29 02:40:26 +01:00
tests Import latest version from upstream 2019-06-26 19:21:42 +02:00
tools Import the latest version from upstream 2019-06-26 19:27:38 +02:00
.gitignore Add a few .gitignore files 2015-05-21 01:55:58 +02:00
config.h Re-generate the Makefiles 2018-04-24 01:36:50 +02:00
config.sh Re-generate the Makefiles 2018-04-24 01:36:50 +02:00
COPYING Switch to the 2-clause BSD license 2018-02-18 22:20:35 +01:00
Makefile Re-generate the Makefiles 2018-04-24 01:36:50 +02:00
project.conf Prepare the 0.4.0 release 2018-04-24 01:36:31 +02:00
README.md Use HTTPS by default 2018-01-01 19:08:07 +01:00

DeforaOS libSystem

About libSystem

libSystem is the most essential library within DeforaOS, with the aim to become a complete C runtime (thus obsoleting the libc and replacing its API). Regardless of its progress in this regard, libSystem is intended to be portable and work on any system, using any POSIX-compliant runtime as fallback if available.

Compiling libSystem

With GCC, this should be enough:

$ make

To install libSystem in a dedicated directory, like /path/to/libSystem:

$ make PREFIX="/path/to/libSystem" install

Generating Makefiles

Alternatively, it is possible to re-generate the Makefiles for the current platform with configure(1) from the DeforaOS configure project, found at https://www.defora.org/os/project/16/configure. The procedure is then as follows:

$ configure
$ make

Please refer to the documentation of DeforaOS configure for further instructions.

A default set of Makefiles is provided with this project in order to avoid a circular dependency, as DeforaOS configure depends on libSystem itself. The Makefiles provided target the NetBSD Operating System https://www.netbsd.org/ by default.

Python bindings

Part of libSystem's API can also be accessed from within the Python programming language. This binding is not compiled or installed by default though. After installing libSystem as documented above, the Python interface can be built and installed as follows:

$ (cd src/python && make install)

Likewise, an alternate installation directory may be specified:

$ (cd src/python && make PREFIX="/path/to/libSystem" install)

Makefiles can be re-generated for the bindings as well:

$ configure src/python