[llvm-dev] A new ELLCC release is available that can cross build the Linux kernel.

Richard Pennington via llvm-dev llvm-dev at lists.llvm.org
Sun Nov 1 15:58:27 PST 2015


A new binary release of the ELLCC cross compilation tool chain is available.
ELLCC is a pre-packaged set of tools designed to support cross compilation
for a variety of target processors.

One of the cool things about this release is that it is the first time we've
tried to build Linux with ELLCC: http://ellcc.org/blog/?p=810

ELLCC includes:
* ecc (a clang/ELLCC based C/C++ compiler)
* binutils
* GDB
* QEMU (on x86_64 Linux hosts)

The ELLCC run-time libraries are supplied pre-built for all targets and
are all covered with BSD-like licenses:
* libc++        The C++ standard library
* musl          The POSIX compliant C library
* compiler-rt   Low level compiler support
* expat         XML parsing
* libedit       Command history
* ncurses       Terminal handling
* zlib          Compression

ELLCC is entirely self hosting.

 From the ChangeLog:

version 0.1.18:

* Update to LLVM r251722.
* Modifications to build Linux.
* Update to LLVM r251283.
* Update to LLVM r251219.
* Update to musl 1.1.12.
* Added a little 'm' makefile to build LLVMLinux with ELLCC (work in 
progress).
* Added ncurses C++ headers and library builds for wide character support.
* Make a link ncurses.h -> curses.h.

Binary tarballs are available from http://ellcc.org/blog/?page_id=20295

The tool chain can build programs for ARM, Mips, PowerPC, and x86 Linux and
stand-alone targets and x86 Windows systems.

Pre-built binaries are available for ARM, Mips, PowerPC, and x86 Linux
host systems as well as x86 Windows and Mac OS X hosts.

All host systems can build programs for all the supported targets.

Available targets are listed here: http://ellcc.org/blog/?page_id=313

-Rich


More information about the llvm-dev mailing list