clawplach / duetto-newlib

A duetto enabled libc implementation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Duetto: A C++ compiler for the Web

Please report bugs on launchpad: https://bugs.launchpad.net/duetto

Duetto libc build instructions

Building the duetto-enabled libc requires having the duetto compiler and duetto-utils headers already installed in /opt/duetto. It also require libcxx-duetto headers.

#Please note that newlib is a subdirectory of the duetto-newlib repository and not the
#repository itself
cd newlib
#duetto-libcxx is only required to access headers and it not necessary (or possible) to build
#it before duetto-newlib
git clone <libcxx-duetto-repo> libcxx
mkdir build
cd build
../configure --host=duetto --with-cxx-headers=$PWD/../libcxx/include --prefix=/opt/duetto
make
make install
../build-bc-libs.sh

The last step is necessary since I've not been able (yet) to patch libtool to create LLVM bitcode-base static libraries.

About

A duetto enabled libc implementation

License:GNU General Public License v2.0