[LLVMdev] dragonegg build failure

Duncan Sands baldrick at free.fr
Fri Apr 8 06:36:29 PDT 2011


Hi Jack,

> Why isn't the compiler set in the GCC environmental being used? It first uses cc and then g++.

there is a priori no connection between the compiler used to build dragonegg,
and the compiler the dragonegg plugin will be loaded into.  For example, if
you built gcc-4.5 as a cross compiler running on (say) powerpc and targeting
x86, then it you can't use it to build dragonegg (which needs to be built as
powerpc code, since it will run on a powerpc machine the same as the gcc-4.5),
but you can load dragonegg into it for generating x86 code.

GCC specifies the compiler the plugin will be loaded into.  Use CC and CXX to
specify the compilers used to build dragonegg.

Ciao, Duncan.



More information about the llvm-dev mailing list