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 Reid.
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=686Arguably, 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.
Chris Lattner
2006-Aug-17 17:43 UTC
[LLVMdev] Problem with stock llvmc configuration for C
On Thu, 17 Aug 2006, Scott Michel wrote:> 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.llvmc is useful for other people working on their own front-ends. llvm does support the GCC front-end well, but we would like to support custom ones even better :) -Chris -- http://nondot.org/sabre/ http://llvm.org/