LLVM + Clang

Virtual machines, emulation, etc.
Post Reply
Message
Author
User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

LLVM + Clang

#1 Post by technosaurus »

Package here: http://code.google.com/p/puppy-developm ... .8-all.pet
The page has a sha1 sum to verify the download
direct download here: http://puppy-development.googlecode.com ... .8-all.pet
wikipedia wrote:LLVM was originally written to be a more aggressive, higher performance system for the existing GCC stack,[6] and many of the GCC front ends have been modified to work with it. LLVM currently supports the compilation of C, C++, Fortran, Objective-C, Ada, and D, using various front ends, some derived from version 4.0.1 and 4.2 of the GNU Compiler Collection (GCC).

Widespread interest in LLVM has led to a number of efforts to develop entirely new front ends for a variety of languages. The one that has received the most attention is Clang, a new compiler supporting C, Objective-C and C++. Primarily supported by Apple, Clang is aimed at replacing the C/Objective-C compiler in the GCC system with a modern system that is more easily integrated with IDEs, and has wider support for multithreading. Objective-C development under GCC was stagnant and Apple's changes to the language were supported in a separately maintained branch. Creating their own compiler allowed them to address many of the same problems LLVM addressed in terms of IDE integration and other modern features, while also making the primary development branch the primary Objective-C implementation.[citation needed]

The Utrecht Haskell compiler can generate code for LLVM which, though the generator is in the early stages of development, has been shown in many cases to be more efficient than the C code generator.[7] The Glasgow Haskell Compiler (GHC) has a working backend for LLVM that achieves a 30% speed-up of the compiled code when compared to native code compiling via GHC or C code generation followed by compilation, missing only one of the many optimization techniques implemented by the GHC.[8]

There are many other components in various stages of development; including, but not limited to, a Java bytecode front end, a CIL front end, a CPython front end, [9] the MacRuby implementation of Ruby 1.9, various front ends for Standard ML, and a new graph coloring register allocator.
This package contains both LLVM and Clang compiled for i586
In order to use it you can either export the environment variables at compile time to use the Clang/LLVM counterparts or by making symlinks for them in the path.
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

Post Reply