[LLVMdev] Problem with stock llvmc configuration for C

Scott Michel scottm at rushg.aero.org
Thu Aug 17 10:14:51 PDT 2006


Reid Spencer wrote:
> On Thu, 2006-08-17 at 08:55 -0700, Scott Michel wrote:
> 
>>Regarding llvmc there is one small problem: with the gcc 4.0 frontend, 
>>"-emit-llvm" needs to be added to all of the translator.command lines. 
>>Not entirely sure how to conditionalize that in the configuration files.
> 
> 
> Hi Scott,
> 
> What is needed is a complete overhaul of the configuration mechanism. We
> have plans to generalize it and make it possible have several of the
> standard configurations "built in" to llvmc while still allowing others
> to be loaded from shared objects or read from files. For further
> details, please see:
> 
> http://llvm.org/bugs/show_bug.cgi?id=686 

Arguably, with the gcc4 frontend, llvmc has probably found the end of
its usefulness. Granted, it has a simplified interface when compared to
llvm-gcc, but at this point, it merely duplicates llvm-gcc. There's
little difference between the builtin specs in gcc.c and the llvmc
configuration files.



More information about the llvm-dev mailing list