[LLVMdev] Can DragonEgg-2.9 work with gcc-4.6?

Duncan Sands baldrick at free.fr
Thu Apr 7 05:06:32 PDT 2011


Hi chenwj,

>    On the dragonedd website, there is a line
>
> "It is a reimplementation of llvm-gcc that works with gcc-4.5 or later."
>
>    I am trying to make gcc-4.6 work woth dragonegg, but I get an error belows,

I didn't port dragonegg to gcc-4.6 yet.  As you can see the garbage collector
information needs to be regenerated (and probably plenty of other stuff needs
to be fixed too).  A lot changed in this area during gcc-4.6 development.

Ciao, Duncan.

>
> ------------------------------------------------------------------------
> Compiling cache.c
> /tmp/chenwj/dragonegg-2.9/cache.c: In function 'llvm_set_cached':
> /tmp/chenwj/dragonegg-2.9/cache.c:101: warning: implicit declaration of function 'GGC_NEW'
> /tmp/chenwj/dragonegg-2.9/cache.c:101: error: expected expression before 'struct'
> /tmp/chenwj/dragonegg-2.9/cache.c:101: warning: assignment makes pointer from integer without a cast
> make: *** [cache.o] Error 1
> ------------------------------------------------------------------------
>
>    Any idea how I can fix this?
>
> Regards,
> chenwj
>




More information about the llvm-dev mailing list