public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* CFG generation from C/C++ and JAVA
       [not found] <775249127.588176.1561563149637.ref@mail.yahoo.com>
@ 2019-06-26 15:33 ` charfi asma via gcc
  2019-06-27  9:24   ` Richard Biener
  0 siblings, 1 reply; 4+ messages in thread
From: charfi asma via gcc @ 2019-06-26 15:33 UTC (permalink / raw)
  To: Gcc-help, Gcc Mailing List, Andrew Haley

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: CFG generation from C/C++ and JAVA
  2019-06-26 15:33 ` CFG generation from C/C++ and JAVA charfi asma via gcc
@ 2019-06-27  9:24   ` Richard Biener
  2019-06-27 15:32     ` charfi asma via gcc
  0 siblings, 1 reply; 4+ messages in thread
From: Richard Biener @ 2019-06-27  9:24 UTC (permalink / raw)
  To: charfi asma; +Cc: Gcc-help, Gcc Mailing List, Andrew Haley

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: CFG generation from C/C++ and JAVA
  2019-06-27  9:24   ` Richard Biener
@ 2019-06-27 15:32     ` charfi asma via gcc
  2019-06-27 19:37       ` NightStrike
  0 siblings, 1 reply; 4+ messages in thread
From: charfi asma via gcc @ 2019-06-27 15:32 UTC (permalink / raw)
  To: gcc, Gcc-help

 Thank you for your help.
Yes, It seems that gcj6 is not well installaed.
Could you please help me to install it ? which installation instruction should I follow ?

I can not installed with apt-get 
should I checkout the gcj 6 from git and setup it manually ?
If yes, can you please give me the steps to follow ?
Thank you again for your help

    Le jeudi 27 juin 2019 à 11:24:41 UTC+2, Richard Biener <richard.guenther@gmail.com> a écrit :  
 
 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  

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: CFG generation from C/C++ and JAVA
  2019-06-27 15:32     ` charfi asma via gcc
@ 2019-06-27 19:37       ` NightStrike
  0 siblings, 0 replies; 4+ messages in thread
From: NightStrike @ 2019-06-27 19:37 UTC (permalink / raw)
  To: charfi asma; +Cc: gcc, Gcc-help

On Thu, Jun 27, 2019 at 11:32 AM charfi asma via gcc <gcc@gcc.gnu.org> wrote:
>
>  Thank you for your help.
> Yes, It seems that gcj6 is not well installaed.
> Could you please help me to install it ? which installation instruction should I follow ?
>
> I can not installed with apt-get
> should I checkout the gcj 6 from git and setup it manually ?
> If yes, can you please give me the steps to follow ?
> Thank you again for your help
>
>     Le jeudi 27 juin 2019 à 11:24:41 UTC+2, Richard Biener <richard.guenther@gmail.com> a écrit :
>
>  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

https://gcc.gnu.org/install/

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-06-27 19:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <775249127.588176.1561563149637.ref@mail.yahoo.com>
2019-06-26 15:33 ` CFG generation from C/C++ and JAVA charfi asma via gcc
2019-06-27  9:24   ` Richard Biener
2019-06-27 15:32     ` charfi asma via gcc
2019-06-27 19:37       ` NightStrike

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).