Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* Re: [RFA] Generalizing compiler invocation for FORTRAN95 testsuite
@ 2002-05-10 11:25 Michael Elizabeth Chastain
  2002-05-10 11:38 ` Andrew Cagney
  0 siblings, 1 reply; 12+ messages in thread
From: Michael Elizabeth Chastain @ 2002-05-10 11:25 UTC (permalink / raw)
  To: petrs; +Cc: gdb-patches

> Should I keep my current compiler support in the F95 testsuite or change
> it temporarily until your work becomes available?

Go ahead and keep your current stuff.  If I get my changes into the tree
first, then you can change your compiler selection code.  If your changes
go in first, then I will change them when I check in my code.

Michael C


^ permalink raw reply	[flat|nested] 12+ messages in thread
* Re: [RFA] Generalizing compiler invocation for FORTRAN95 testsuite
@ 2002-05-10 12:19 Michael Elizabeth Chastain
  0 siblings, 0 replies; 12+ messages in thread
From: Michael Elizabeth Chastain @ 2002-05-10 12:19 UTC (permalink / raw)
  To: ac131313, petrs; +Cc: gdb-patches

AndrewC says:
> Approval to do it is MichaelC's (as acting fernando) call.

I'd like to see the contents and then I'm ready to approve.

Michael C


^ permalink raw reply	[flat|nested] 12+ messages in thread
* Re: [RFA] Generalizing compiler invocation for FORTRAN95 testsuite
@ 2002-05-08 20:19 Michael Elizabeth Chastain
  2002-05-10 11:07 ` Petr Sorfa
  0 siblings, 1 reply; 12+ messages in thread
From: Michael Elizabeth Chastain @ 2002-05-08 20:19 UTC (permalink / raw)
  To: petrs; +Cc: gdb-patches

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


^ permalink raw reply	[flat|nested] 12+ messages in thread
* Re: [RFA] Generalizing compiler invocation for FORTRAN95 testsuite
@ 2002-05-07  9:20 Michael Elizabeth Chastain
  0 siblings, 0 replies; 12+ messages in thread
From: Michael Elizabeth Chastain @ 2002-05-07  9:20 UTC (permalink / raw)
  To: petrs; +Cc: gdb-patches

Hmmm, there is a bit of a mess with compiler invocation.

I'm having a problem right now with Java.  When I invoke "runtest"
with the "--tool_exec" option to select which version of gdb I want,
that option also becomes the name of the gcj command line.

I have to do some archaelogy here and figure out a good way to do this
across all languages.

Michael C


^ permalink raw reply	[flat|nested] 12+ messages in thread
* Re: [RFA] Generalizing compiler invocation for FORTRAN95 testsuite
@ 2002-05-07  8:59 Michael Elizabeth Chastain
  2002-05-07  9:04 ` Petr Sorfa
  0 siblings, 1 reply; 12+ messages in thread
From: Michael Elizabeth Chastain @ 2002-05-07  8:59 UTC (permalink / raw)
  To: gdb-patches, petrs

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

Michael C


^ permalink raw reply	[flat|nested] 12+ messages in thread
* [RFA] Generalizing compiler invocation for FORTRAN95 testsuite
@ 2002-05-07  7:55 Petr Sorfa
  2002-05-07  9:18 ` Daniel Jacobowitz
  2002-05-07  9:27 ` Eli Zaretskii
  0 siblings, 2 replies; 12+ messages in thread
From: Petr Sorfa @ 2002-05-07  7:55 UTC (permalink / raw)
  To: gdb-patches

Hi,

I'm going to be releasing the FORTRAN95 testsuite soon. Unfortunately
since there is currently no functional g95 the testsuite relies on
invoking Intel's FORTRAN95 compilers (efc (IA64) and ifc (IA32).)

I'm just wondering how I should generalize this dependency and still
invoke the correct compilers?

Would it also be a good idea to create a gdb.fortran95 directory under
gdb/testsuite/?

Petr


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2002-05-10 19:19 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-05-10 11:25 [RFA] Generalizing compiler invocation for FORTRAN95 testsuite Michael Elizabeth Chastain
2002-05-10 11:38 ` Andrew Cagney
  -- strict thread matches above, loose matches on Subject: below --
2002-05-10 12:19 Michael Elizabeth Chastain
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  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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox