From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22261 invoked by alias); 30 Jun 2011 13:29:09 -0000 Received: (qmail 22251 invoked by uid 22791); 30 Jun 2011 13:29:08 -0000 X-SWARE-Spam-Status: No, hits=-6.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 30 Jun 2011 13:28:51 +0000 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p5UDSlcX025332 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 30 Jun 2011 09:28:47 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id p5UDSljW012719; Thu, 30 Jun 2011 09:28:47 -0400 Received: from barimba (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id p5UDSjnO015714; Thu, 30 Jun 2011 09:28:46 -0400 From: Tom Tromey To: "H.J. Lu" Cc: GDB , Public DejaGNU List Subject: Re: PATCH: PR testsuite/12040: GDB Fortran tests use g77 instead of gfortran References: <20100920135856.GA27953@intel.com> Date: Thu, 30 Jun 2011 13:29:00 -0000 In-Reply-To: (H. J. Lu's message of "Wed, 29 Jun 2011 11:29:40 -0700") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2011-06/txt/msg00489.txt.bz2 >>>>> "H.J." =3D=3D H J Lu writes: CC'ing the dejagnu list. H.J.> gfortran can be used as F77 compiler. =C2=A0Why not just return gfort= ran H.J.> for f77? Tom> No particular reason. Tom> I can implement it that way if you feel strongly about it. H.J.> That is fine with gdb testsuite. But in general, dejagnu should try H.J.> gfortran first when F77 compiler is requested. I agree, this would make the most sense. However, I don't see how to reasonably modify find_g77 to do this. I could add a check for [which gfortran] to the not-remote-host case, but I don't know how to search $PATH on a remote host. I'm also not sure if searching $PATH is ok here at all. Tom