Using LLVM for build package instead gcc, why not?

Przemek Klosowski przemek.klosowski at nist.gov
Tue Jul 27 18:19:55 UTC 2010


On 07/24/2010 01:09 PM, Horst H. von Brand wrote:
> Jonathan MERCIER<bioinfornatics at gmail.com>  wrote:

>> If we could swap out old C compilers for a more generic LLVM compiler
>> for core components like the kernel,
>
> Won't happen until clang generates much better code than GCC; in the
> meanwhile it'll have to grok all GCC extensions.

The kernel also depends on a lot of GCC-specific extensions (asm syntax, 
variable and linker attributes, things that aren't 100% specified by 
language definition like data layouts/packing, etc)
In principle LLVM could replicate those things, but it probably doesn't 
right now.


More information about the devel mailing list