Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
README | 2011-09-02 | 2.2 kB | |
llvm-2.9-mingw-aros-bin.tgz | 2011-09-02 | 55.2 MB | |
Totals: 2 Items | 55.2 MB | 0 |
This archive contains the source release of AROS-Clang Release Candidate 1. AROS-Clang is a cross compiler for the AROS Research Operating System based on LLVM Clang version 2.9. It is freely distributable under the University of Illinois Open Source License. For more information see LICENSE.TXT. USAGE: AROS-Clang can target many architectures and platforms, but since this archive is aimed at cross-compiling for AROS, we will focus on that specific usage. To simply compile a file (test.c) into an AROS ELF object (test.o) you can issue the following command: aros-clang -ccc-host-triple i686-pc-aros -c test.c You may need to add necessary include paths using the -I option: aros-clang -ccc-host-triple i686-pc-aros -IC:/aros-sdk/include -c test.c This will output the ELF object named test.o which may then be linked as needed. To compile an AROS ELF executable file (test) issue: aros-clang -ccc-host-triple i686-pc-aros test.c -o test NOTE: At the current time, aros-clang attempts to call the 'collect-aros' tool to perform the linking step. However, there seem to be some problems with the MinGW version of collect-aros which result in an incompatible executable file in some cases. If this occurs, then the linking stage should be completed on a different platform. I've had success linking aros-clang compiled objects on native AROS. BUILDING AROS-CLANG: If you wish to compile AROS-Clang yourself the process is relatively simple. You will first need the following files: Cmake LLVM-patched-src.zip MinGW MSYS 1. Extract LLVM-patched-src to its own directory 2. Make a new build directory for LLVM 3. Change to the LLVM build directory 4. Run Cmake: cmake -DCMAKE_BUILD_TYPE=RELEASE ../llvm-2.9-source 5. Make LLVM: make 6. The resultant binaries should be in the bin directory. And that is all for now. Please visit https://sourceforge.net/projects/aros-clang to report bugs, suggest features, and discuss this project. Thank you, Michael Ness --Lead developer Samuel Crow --Mac and Source packager