Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Petr Sorfa <petrs@caldera.com>
To: Michael Elizabeth Chastain <mec@shout.net>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [RFA] Generalizing compiler invocation for FORTRAN95 testsuite
Date: Tue, 07 May 2002 09:04:00 -0000	[thread overview]
Message-ID: <3CD7FDCB.EF6189CA@caldera.com> (raw)
In-Reply-To: <200205071559.g47FxXK21376@duracef.shout.net>

Hi Michael,

> I'm curious ... how are you invoking efc and ifc now?
> Can you post an excerpt from your code?

A bit of a hack really. I haven't used the $compiler variable. Anyway,
here is the excerpt:

-------
set hardware [exec uname -m]

set CC ""

if { $hardware == "i686" } {
  set CC "ifc"
  } elseif { $hardware == "ia64" } {
  set CC "efc"
  } else {
    puts "ERROR in ${testfile}: Failed to find FORTRAN compiler for
${hardware}"  }

puts "cd ${srcdir}/${subdir}; exec ${CC} -g -o ${testfile} ${srcfile}"
set currpwd [ pwd ]
catch "cd ${srcdir}/${subdir}; exec ${CC} -g -o ${testfile} ${srcfile}"
output
catch "cd ${currpwd}"
------

Petr


  reply	other threads:[~2002-05-07 16:04 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-07  8:59 Michael Elizabeth Chastain
2002-05-07  9:04 ` Petr Sorfa [this message]
  -- 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-08 20:19 Michael Elizabeth Chastain
2002-05-10 11:07 ` Petr Sorfa
2002-05-07  9:20 Michael Elizabeth Chastain
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=3CD7FDCB.EF6189CA@caldera.com \
    --to=petrs@caldera.com \
    --cc=gdb-patches@sources.redhat.com \
    --cc=mec@shout.net \
    /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