public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: Philip Herron <redbrain@gcc.gnu.org>
To: charfi asma <charfiasma@yahoo.fr>
Cc: gcc-help@gcc.gnu.org
Subject: Re: Re : Re : Re : Re : Re : Re : Re : Re : Re : Re : [GCC front end] trying to install sample_fe but fail in make
Date: Fri, 20 Aug 2010 04:33:00 -0000	[thread overview]
Message-ID: <AANLkTikPPV+kGQf8t7pikFjx-68hOVrX26cFWY7J9vYH@mail.gmail.com> (raw)
In-Reply-To: <433024.59527.qm@web28514.mail.ukl.yahoo.com>

On 19 August 2010 14:03, charfi asma <charfiasma@yahoo.fr> wrote:
> I tried to add gcalc as a front end to gcc 4.4.4 to understand the purpose of
> 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
> « build_decl » a reçu 4 arguments, mais elle n'en prend que 3
> /export/home/charfi/Bureau/gcc-4.4.4/gcc/gcalc/calc1.c: In function
> ‘calc_parse_file’:
> /export/home/charfi/Bureau/gcc-4.4.4/gcc/gcalc/calc1.c:141: erreur: ‘build_decl’
> undeclared (first use in this function)
> /export/home/charfi/Bureau/gcc-4.4.4/gcc/gcalc/calc1.c:141: erreur: (Each
> undeclared identifier is reported only once
> /export/home/charfi/Bureau/gcc-4.4.4/gcc/gcalc/calc1.c:141: erreur: for each
> function it appears in.)
> /export/home/charfi/Bureau/gcc-4.4.4/gcc/gcalc/calc1.c:148:96: erreur: la macro
> « build_decl » a reçu 4 arguments, mais elle n'en prend que 3
> /export/home/charfi/Bureau/gcc-4.4.4/gcc/gcalc/calc1.c:140: attention : unused
> variable ‘main_fn_type’
> /export/home/charfi/Bureau/gcc-4.4.4/gcc/gcalc/calc1.c: In function
> ‘calc_post_options’:
> /export/home/charfi/Bureau/gcc-4.4.4/gcc/gcalc/calc1.c:274: erreur:
> ‘flag_excess_precision_cmdline’ undeclared (first use in this function)
> /export/home/charfi/Bureau/gcc-4.4.4/gcc/gcalc/calc1.c:274: erreur:
> ‘EXCESS_PRECISION_FAST’ undeclared (first use in this function)
> /export/home/charfi/Bureau/gcc-4.4.4/gcc/gcalc/calc1.c: Hors de toute fonction :
> /export/home/charfi/Bureau/gcc-4.4.4/gcc/gcalc/calc1.c:294: erreur: conflicting
> type qualifiers for ‘lang_hooks’
> /export/home/charfi/Bureau/gcc-4.4.4/gcc/langhooks.h:422: note: previous
> declaration of ‘lang_hooks’ was here
> /export/home/charfi/Bureau/gcc-4.4.4/gcc/gcalc/calc1.c:297:28: erreur:
> gt-gcalc-calc1.h : Aucun fichier ou dossier de ce type
> make[3]: *** [gcalc/calc1.o] Erreur 1
> make[3]: quittant le répertoire « /export/home/charfi/Bureau/gcc_make2/gcc »
> make[2]: *** [all-stage2-gcc] Erreur 2
> make[2]: quittant le répertoire « /export/home/charfi/Bureau/gcc_make2 »
> make[1]: *** [stage2-bubble] Erreur 2
> make[1]: quittant le répertoire « /export/home/charfi/Bureau/gcc_make2 »
> make: *** [all] Erreur 2
>

This looks like langhook's function significant errors. Don't expect
langhooks as is to be stable, since i started my front-end I've
noticed 1 or 2 changes in the last 3 months or so. Its highly doubtful
you could get the gcalc front-end andi build to work on GCC 4.4.4,
without looking into langhooks.{h,def} to get the langhook function
signatures right.

As we have said earlier in this thread, try to work with current gcc
sources (svn/git) its much simpler for us to help you, or if your
heart is set on using a tarball use a snapshot gcc-core tarball or
something.

--Phil

  reply	other threads:[~2010-08-19 17:39 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-04 15:04 charfi asma
2010-06-04 15:46 ` Andi Hellmund
2010-06-07 13:34   ` Re : " charfi asma
2010-06-07 14:28     ` Andi Hellmund
2010-06-07 16:11       ` Re : " charfi asma
2010-06-07 21:34         ` Philip Herron
     [not found]         ` <AANLkTimBwfoGdgaz19gkeFoKhbnloKYT0VpVMmjVUgtA@mail.gmail.com>
2010-06-08 18:54           ` Re : " charfi asma
2010-06-08 21:34             ` Andi Hellmund
2010-06-23 16:52               ` Re : " charfi asma
     [not found]               ` <895794.48229.qm@web28503.mail.ukl.yahoo.com>
2010-06-24  1:53                 ` Andi Hellmund
2010-06-24  5:26                   ` Philip Herron
2010-06-24 23:41                     ` Re : " charfi asma
2010-06-25  4:14                       ` Andi Hellmund
2010-06-25 13:28                         ` Philip Herron
     [not found]                       ` <4C23C78C.2040903@andihellmund.com>
2010-07-16 14:15                         ` Re : " charfi asma
2010-07-17  3:48                           ` Philip Herron
2010-07-19 13:56                             ` Re : " charfi asma
2010-07-21 15:53                               ` Philip Herron
2010-08-16 12:32                                 ` Re : " charfi asma
2010-08-18  9:22                                   ` Philip Herron
2010-08-18 16:07                                     ` Re : " charfi asma
2010-08-18 17:40                                       ` Philip Herron
2010-08-19 17:39                                         ` Re : " charfi asma
2010-08-20  4:33                                           ` Philip Herron [this message]
2010-08-21 10:37                                             ` Re : " charfi asma
2010-08-24  6:34                                               ` Andi Hellmund
2010-08-24 13:45                                                 ` Re : " charfi asma
2010-08-25 21:46                                                   ` Philip Herron
2010-08-26 13:02                                                     ` Re : " charfi asma
2010-06-25  0:15                   ` Re : Re : " Jens Kilian

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AANLkTikPPV+kGQf8t7pikFjx-68hOVrX26cFWY7J9vYH@mail.gmail.com \
    --to=redbrain@gcc.gnu.org \
    --cc=charfiasma@yahoo.fr \
    --cc=gcc-help@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).