From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 103759 invoked by alias); 27 Jun 2019 19:37:46 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 103741 invoked by uid 89); 27 Jun 2019 19:37:46 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KAM_SHORT,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.1 spammy=H*f:sk:6835572, H*i:sk:6835572, our X-HELO: mail-io1-f49.google.com Received: from mail-io1-f49.google.com (HELO mail-io1-f49.google.com) (209.85.166.49) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 27 Jun 2019 19:37:44 +0000 Received: by mail-io1-f49.google.com with SMTP id s7so7296747iob.11; Thu, 27 Jun 2019 12:37:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=WDv0ns8OHCqvySO3Vw6UcYvXvcu+xdlocaFdTllhLOY=; b=YxFKB/lbcLzUDgn7hKpdEwLgoya/rU8ESD8NTcZB/1qLGbhwBi8f90X/um6uVJ8wcm 5X9jO8LJ7oNYR2TKTRwWNTA6yNoRdFjg7HQ0Lv1LquBSjL2uPN0AgiKffIkN1CCQYTja emxdcKPnpDM+aR0P8exFapKFrIihSktZOk6Rq+8o2uL68e8qNiBoPOgOUkOEj4jw/4ms 0ra0ImD9zOHlAHw1CJ3db1/JHW0+TPMousw+7TBDjpXIvPMIcD1JeTs1TruasHR+1tYK u2wXbV0hy+tvH9sxuzlnq2uZR1oe5o6dCoZENZADGUcDX17shGjvKRET0iv/4A3zyvHJ jyOg== MIME-Version: 1.0 References: <775249127.588176.1561563149637.ref@mail.yahoo.com> <775249127.588176.1561563149637@mail.yahoo.com> <683557232.1442224.1561649549590@mail.yahoo.com> In-Reply-To: <683557232.1442224.1561649549590@mail.yahoo.com> From: NightStrike Date: Thu, 27 Jun 2019 19:37:00 -0000 Message-ID: Subject: Re: CFG generation from C/C++ and JAVA To: charfi asma Cc: "gcc@gcc.gnu.org" , Gcc-help Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2019-06/txt/msg00342.txt.bz2 On Thu, Jun 27, 2019 at 11:32 AM charfi asma via gcc wrot= e: > > 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 s= hould 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 =C3=A0 11:24:41 UTC+2, Richard Biener a =C3=A9crit : > > On Wed, Jun 26, 2019 at 5:33 PM charfi asma via gcc wr= ote: > > > > 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, w= e would like just to analyze (with our tools) the CFG produced from each fr= ont 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 prev= ious 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/