This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: PR testsuite/12040: GDB Fortran tests use g77 instead of gfortran


>>>>> "H.J." == H J Lu <hjl.tools@gmail.com> writes:

CC'ing the dejagnu list.

H.J.> gfortran can be used as F77 compiler. ÂWhy not just return gfortran
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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]