Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Michael Elizabeth Chastain <mec@shout.net>
To: petrs@caldera.com
Cc: gdb-patches@sources.redhat.com
Subject: Re: [RFA] Generalizing compiler invocation for FORTRAN95 testsuite
Date: Wed, 08 May 2002 20:19:00 -0000	[thread overview]
Message-ID: <200205090319.g493JMC19527@duracef.shout.net> (raw)

Okay, progress report.

I'm playing around with some new code in gdb_compile() to set the compiler
name.  It looks in the arguments to see if there is a language argument
such as "c++" or "fortran-90".  If there is a language argument, that's
the language to use.  If there is no language argument, the default
language is C.

Next there is a section that translates the language argument to a compiler
to use.  That's where the default compilers are gcc, g77, gjc, and so on.
The user can override these with environment variables CC_FOR_TARGET,
F77_FOR_TARGET, JAVA_FOR_TARGET, and so on.  This will enable people to
test with different C compilers and different C++ compilers and
different FORTRAN compilers.

After gdb_compile() figures out the name of the compiler, it always
passes a "compiler=..." argument to target_compile.

Along the way, I ripped out a lot of weird lib/java.exp support code to
figure out the name of the Java compiler.

I'm still playing with this.  Among other things, I have to fix my own
Java testbed problems first so that I can run Java tests.

When it reaches a submission stage I'll be happy to have it stomped on
and ripped up; I'm not assuming that anyone will like it.

Michael C


             reply	other threads:[~2002-05-09  3:19 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-08 20:19 Michael Elizabeth Chastain [this message]
2002-05-10 11:07 ` Petr Sorfa
  -- strict thread matches above, loose matches on Subject: below --
2002-05-10 12:19 Michael Elizabeth Chastain
2002-05-10 11:25 Michael Elizabeth Chastain
2002-05-10 11:38 ` Andrew Cagney
2002-05-07  9:20 Michael Elizabeth Chastain
2002-05-07  8:59 Michael Elizabeth Chastain
2002-05-07  9:04 ` Petr Sorfa
2002-05-07  7:55 Petr Sorfa
2002-05-07  9:18 ` Daniel Jacobowitz
2002-05-07  9:27 ` Eli Zaretskii
2002-05-07  9:30   ` Petr Sorfa

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=200205090319.g493JMC19527@duracef.shout.net \
    --to=mec@shout.net \
    --cc=gdb-patches@sources.redhat.com \
    --cc=petrs@caldera.com \
    /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