This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: CFG generation from C/C++ and JAVA
- From: Richard Biener <richard dot guenther at gmail dot com>
- To: charfi asma <charfiasma at yahoo dot fr>
- Cc: Gcc-help <gcc-help at gcc dot gnu dot org>, Gcc Mailing List <gcc at gcc dot gnu dot org>, Andrew Haley <aph at redhat dot com>
- Date: Thu, 27 Jun 2019 11:24:29 +0200
- Subject: Re: CFG generation from C/C++ and JAVA
- References: <775249127.588176.1561563149637.ref@mail.yahoo.com> <775249127.588176.1561563149637@mail.yahoo.com>
On Wed, Jun 26, 2019 at 5:33 PM charfi asma via gcc <gcc@gcc.gnu.org> wrote:
>
> Hello,
> I am interested in generating the CFG from several gcc front ends. All works fine for GCC and G++, and we are also interrested in JAVA.
> we have seen that GCJ is no longer maintained/distributed by GCCHowever, we do not like to compile input java code into assembly or binary code, we would like just to analyze (with our tools) the CFG produced from each front ends including the gcj front end.
> we downloaded the gcc 6.5.0 that contains gcj but when trying to call "gcj -v" we got this error : "libgcj.spec : Nosuch file or directory."
> Any idea ? we really need to evaluate the java front end even in a previous version of GCC (just to dump the Generic, gimple and cfg intermediate representations)
> Thank you very much !
it looks like you failed to build and install libjava. Please follow
the install instructions, in particular you need to download
ecj.jar which you likely forgot.
Richard.
> Asma