|
|||
|---|---|---|---|
| Home Blog News Documentation Installation Target Support Bug Database Source Repository Contact |
The installation
procedure for ELLCC is a bit complicated at the moment. There are
currently no binary downloads available, you have to build from source.
Having said that, here are step by step instructions that describe how
to build ELLCC under Linux. It takes a long time to build ELLCC. It helps to have a system with at least 3GB of RAM to speed up the LLVM build. PrerequisitesAn ELLCC build requires the following packages to be installed:
Get the ELLCC SourcesThis will take a while since it gets all of LLVM, Clang, binutils, GDB, and QEMU.Building ELLCC[~] main% cd ellcc[~/ellcc] main% [~/ellcc] main%
./configure[~/ellcc] main% make [~/ellcc] main% ls binarm-elf-as*
ecc-ld*
llvmc*
opt*
qemu-ppc64abi32*You may want to put the bin directory in your PATH, but it is not required at this point. ecc and e++ are the hosted C and C++ compilers: They use the system header files in /usr/include and use the system cc and c++ libraries to do the final program link. This means you can use ecc and e++ to compile programs that run natively on your system. We will build target libraries and set up for cross compilation in Setting Up Target Support. |
||