From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18005 invoked by alias); 19 Aug 2010 13:03:31 -0000 Received: (qmail 17854 invoked by uid 22791); 19 Aug 2010 13:03:28 -0000 X-SWARE-Spam-Status: No, hits=-0.8 required=5.0 tests=AWL,BAYES_40,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Received: from web28514.mail.ukl.yahoo.com (HELO web28514.mail.ukl.yahoo.com) (87.248.110.193) by sourceware.org (qpsmtpd/0.43rc1) with SMTP; Thu, 19 Aug 2010 13:03:22 +0000 Received: (qmail 61430 invoked by uid 60001); 19 Aug 2010 13:03:19 -0000 Message-ID: <433024.59527.qm@web28514.mail.ukl.yahoo.com> Received: from [132.166.132.113] by web28514.mail.ukl.yahoo.com via HTTP; Thu, 19 Aug 2010 13:03:19 GMT References: <961323.52443.qm@web28502.mail.ukl.yahoo.com> <7c01c91296c0beecfe4d6761073628bb-EhVcXl1CTQJeRwgeDAw3AF9BdAJSS1xcXV9EBF41WEVGVFENQV5+BEtdXjBeQ0IHWVxaSF9d-webmailer2@server04.webmailer.hosteurope.de> <285937.98277.qm@web28506.mail.ukl.yahoo.com> <284878.42130.qm@web28506.mail.ukl.yahoo.com> <730386.47129.qm@web28514.mail.ukl.yahoo.com> <4C0E91ED.6050600@andihellmund.com> <895794.48229.qm@web28503.mail.ukl.yahoo.com> <4C228DAC.4000704@andihellmund.com> <947445.22128.qm@web28503.mail.ukl.yahoo.com> <4C23C78C.2040903@andihellmund.com> <339992.16381.qm@web28510.mail.ukl.yahoo.com> <965431.74024.qm@web28505.mail.ukl.yahoo.com> <812334.11661.qm@web28514.mail.ukl.yahoo.com> <979708.56457.qm@web28505.mail.ukl.yahoo.com> Date: Thu, 19 Aug 2010 17:39:00 -0000 From: charfi asma Subject: Re : Re : Re : Re : Re : Re : Re : Re : Re : Re : [GCC front end] trying to install sample_fe but fail in make To: gcc-help@gcc.gnu.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2010-08/txt/msg00191.txt.bz2 I tried to add gcalc as a front end to gcc 4.4.4 to understand the purpose = of=20 this fe. but when I call make I get those errors /export/home/charfi/Bureau/gcc-4.4.4/gcc/gcalc/calc1.c:141:104: erreur: la = macro=20 =C2=AB build_decl =C2=BB a re=C3=A7u 4 arguments, mais elle n'en prend que 3 /export/home/charfi/Bureau/gcc-4.4.4/gcc/gcalc/calc1.c: In function=20 =E2=80=98calc_parse_file=E2=80=99: /export/home/charfi/Bureau/gcc-4.4.4/gcc/gcalc/calc1.c:141: erreur: =E2=80= =98build_decl=E2=80=99=20 undeclared (first use in this function) /export/home/charfi/Bureau/gcc-4.4.4/gcc/gcalc/calc1.c:141: erreur: (Each=20 undeclared identifier is reported only once /export/home/charfi/Bureau/gcc-4.4.4/gcc/gcalc/calc1.c:141: erreur: for eac= h=20 function it appears in.) /export/home/charfi/Bureau/gcc-4.4.4/gcc/gcalc/calc1.c:148:96: erreur: la m= acro=20 =C2=AB build_decl =C2=BB a re=C3=A7u 4 arguments, mais elle n'en prend que 3 /export/home/charfi/Bureau/gcc-4.4.4/gcc/gcalc/calc1.c:140: attention : unu= sed=20 variable =E2=80=98main_fn_type=E2=80=99 /export/home/charfi/Bureau/gcc-4.4.4/gcc/gcalc/calc1.c: In function=20 =E2=80=98calc_post_options=E2=80=99: /export/home/charfi/Bureau/gcc-4.4.4/gcc/gcalc/calc1.c:274: erreur:=20 =E2=80=98flag_excess_precision_cmdline=E2=80=99 undeclared (first use in th= is function) /export/home/charfi/Bureau/gcc-4.4.4/gcc/gcalc/calc1.c:274: erreur:=20 =E2=80=98EXCESS_PRECISION_FAST=E2=80=99 undeclared (first use in this funct= ion) /export/home/charfi/Bureau/gcc-4.4.4/gcc/gcalc/calc1.c: Hors de toute fonct= ion : /export/home/charfi/Bureau/gcc-4.4.4/gcc/gcalc/calc1.c:294: erreur: conflic= ting=20 type qualifiers for =E2=80=98lang_hooks=E2=80=99 /export/home/charfi/Bureau/gcc-4.4.4/gcc/langhooks.h:422: note: previous=20 declaration of =E2=80=98lang_hooks=E2=80=99 was here /export/home/charfi/Bureau/gcc-4.4.4/gcc/gcalc/calc1.c:297:28: erreur:=20 gt-gcalc-calc1.h : Aucun fichier ou dossier de ce type make[3]: *** [gcalc/calc1.o] Erreur 1 make[3]: quittant le r=C3=A9pertoire =C2=AB /export/home/charfi/Bureau/gcc_= make2/gcc =C2=BB make[2]: *** [all-stage2-gcc] Erreur 2 make[2]: quittant le r=C3=A9pertoire =C2=AB /export/home/charfi/Bureau/gcc_= make2 =C2=BB make[1]: *** [stage2-bubble] Erreur 2 make[1]: quittant le r=C3=A9pertoire =C2=AB /export/home/charfi/Bureau/gcc_= make2 =C2=BB make: *** [all] Erreur 2 thank you for your help Asma ----- Message d'origine ---- De : Philip Herron =C3=80 : charfi asma Cc : gcc-help@gcc.gnu.org Envoy=C3=A9 le : Mer 18 ao=C3=BBt 2010, 18h 23min 48s Objet : Re: Re : Re : Re : Re : Re : Re : Re : Re : Re : [GCC front end] tr= ying=20 to install sample_fe but fail in make On 18 August 2010 15:43, charfi asma wrote: > > your first link works as well, we have just to checkout from the gcc-dev > directory. > > so both links are fine > > # git checkout -t -b documentation origin/documentation > # git checkout --track -b gcalc origin/documentation > > Asma > Hope this helps you along the way, to building a front-end it looks like a lot of pain in the beginning to setup bits and bobs, but gcc is brilliant for build a new language on and the GENERIC tree api is great although its quite daunting to get used to at the start. Follow gcalc and maybe re-create it in your own way or build a new basic language, then just go from there. Its not as painful as you may think, once you get started you will be flying. Let us know how you get on and remember we have the irc on irc.oftc.net #gcc feel free to ask questions there too in a more informal manor. --Phil