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