public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Tom Tromey <tromey@redhat.com>
To: Basile STARYNKEVITCH <basile@starynkevitch.net>
Cc: GCC Mailing List <gcc@gcc.gnu.org>
Subject: Re: MELT tutorial on the wiki
Date: Fri, 31 Jul 2009 17:52:00 -0000	[thread overview]
Message-ID: <m3eirwpwoq.fsf@fleche.redhat.com> (raw)
In-Reply-To: <4A728EE2.2050401@starynkevitch.net> (Basile STARYNKEVITCH's message of "Fri\, 31 Jul 2009 08\:27\:46 +0200")

>>>>> "Basile" == Basile STARYNKEVITCH <basile@starynkevitch.net> writes:

Basile> My current belief is that MELT is easier built (and used) as a
Basile> GCC-trunk (or future GCC-4.5) plugin melt.so.

Yeah, I looked at this, but I really wanted something where I did not
have to do much work... no applying patches or hacking scripts.  I have
very little time for this side project, so most barriers look too big at
this point.

Tom> In both cases I just configured with --disable-bootstrap --enable-melt,
Tom> plus the appropriate --enable-langauges option.  This is on x86 F11.

Basile> You probably missed some configure arguments. The MELT's
Basile> gcc/configure.ac ends with
Basile> ## Basile adds a notice if the MELT branch is configured without
Basile> ## --enable-melt
Basile> if test "$enabled_melt" != "yes" ; then
Basile>    AC_MSG_NOTICE(
Basile> [GCC MELT branch is configured WITHOUT enabling melt.
Basile>  Are you sure to want that?])
Basile> fi

I looked into this a little.  It looks like the PPL checks don't work
properly in the case where PPL is a system library.  I guess I need
--with-ppl=/usr ... I will try that later.

BTW: IMO, on a branch like this, it would be friendlier for users to:

* Check in the correct version of configure
* Enable MELT by default, don't require an option
* Die in configure if a prerequisite is missing
* Have the PPL checks detect the situation where PPL is a system library

Otherwise whatever error messages there might be are just lost in the
noise.

Tom

  reply	other threads:[~2009-07-31 17:52 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-29 15:52 Basile STARYNKEVITCH
2009-07-30 21:17 ` Tom Tromey
2009-07-31  6:27   ` Basile STARYNKEVITCH
2009-07-31 17:52     ` Tom Tromey [this message]
2009-07-31 20:16       ` Tom Tromey
2009-08-01  6:11         ` Basile STARYNKEVITCH
2009-08-01  7:06           ` Ralf Wildenhues
2009-08-02 14:57           ` Paolo Bonzini
2009-08-03 16:23           ` Tom Tromey
2009-08-03 19:21             ` Basile STARYNKEVITCH
2009-08-01  6:28       ` Dave Korn
2009-08-01  6:43         ` Basile STARYNKEVITCH
2009-08-01  6:58           ` Dave Korn
2009-08-03 16:12             ` Tom Tromey
2009-08-04 13:22               ` Dave Korn
2009-08-23 20:14         ` Ralf Wildenhues
2009-08-01  8:44   ` Paolo Bonzini
2009-08-01  8:57     ` Basile STARYNKEVITCH
2009-08-03 16:16     ` Tom Tromey
  -- strict thread matches above, loose matches on Subject: below --
2009-05-10 12:02 Basile STARYNKEVITCH

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=m3eirwpwoq.fsf@fleche.redhat.com \
    --to=tromey@redhat.com \
    --cc=basile@starynkevitch.net \
    --cc=gcc@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).