gij gcj-dbtool and questions

Jakob Praher jpraher@yahoo.de
Thu Jan 13 18:54:00 GMT 2005


Am Mittwoch, den 12.01.2005, 17:46 -0700 schrieb Tom Tromey:
> >>>>> "Jakob" == Jakob Praher <jpraher@yahoo.de> writes:
>> Jakob> I've managed to build gcjx, but I have too
> Jakob> little experience yet to integrate it with gcc, so that all the hooks
> Jakob> work and stuff like that. Perhaps if some of you give me some pointers/a
> Jakob> little bit to get started, I would be interested in trying to get it
> Jakob> working [just to learn a little bit more].
>> First, be warned that the tree back end is not complete. It won't
> generate working code yet.
>> The way I build the tree back end is pretty hacky. I have a separate
> gcc tree where I made symlinks from gcc/java/ to the files in
> gcjx/tree. I also hacked Make-lang.in to let gengtype know about the
> new .cc files.

Yeah I thought there is some magic involved. Allthough at first I hoped
there were a libtree somewhere :-) so that you could register the hooks
dynamically. I also noticed that there are no Makefiles (which is clear,
since the tree should be part of the gcc/subdir/Make-lang.in.
But I have to say that the structure of the code is pretty good.
Although one needs a very recent g++ to get it compiled. 
What's the status of getting c++ frontends into gcc?
This partially implemention of C++ member functions is quite handy for
this kind of scenario, though a bit hard to find which translation unit
implements what. (although in languages like java one would use
interfaces instead). 
-- 
Jakob Praher <jpraher@yahoo.de>


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /