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

陳韋任 chenwj at iis.sinica.edu.tw
Thu Apr 7 03:43:32 PDT 2011


Hi, all

  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,

------------------------------------------------------------------------
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

-- 
Wei-Ren Chen (陳韋任)
Computer Systems Lab, Institute of Information Science,
Academia Sinica, Taiwan (R.O.C.)
Tel:886-2-2788-3799 #1667




More information about the llvm-dev mailing list