Re: Reusing GCJ compiler

Scott Finnie <>
9 Mar 2003 17:22:02 -0500

          From comp.compilers

Related articles
Reusing GCJ compiler (Vincent Richard) (2003-02-21)
Re: Reusing GCJ compiler (Scott Finnie) (2003-03-09)
Re: Reusing GCJ compiler (2003-03-24)
| List of all articles for this month |

From: Scott Finnie <>
Newsgroups: comp.compilers
Date: 9 Mar 2003 17:22:02 -0500
Organization: Virgin Net Usenet Service
References: 03-02-118
Keywords: Java
Posted-Date: 09 Mar 2003 17:22:02 EST


You may want to look at gccxml (
    I haven't used it with Java, but it sits on the back end of the gcc
framework, so I think should work with gcj. The author is pretty
responsive on the mailing list, you could ask him directly.


Vincent Richard wrote:
> I am searching for some documentation about reusing GCJ (GNU Java
> compiler) parsing code into my own program. In fact, I want GCJ to
> parse a ".java" file and return all the information useful to
> understand the structure of a Java program (the parsing tree) :
> classes, methods, attributes names/types, etc...
> I have started by checking C source files, but nothing is really clear about
> how to interface with the parser.
> Does anybody have some documentation/links about that ?

Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.