g77.exp: Replace search for libf2c.a with search for newly renamed libg2c.a
authorRobert Lipe <robertl@dgii.com>
Thu, 18 Jun 1998 22:58:52 +0000 (22:58 +0000)
committerRobert Lipe <robertl@gcc.gnu.org>
Thu, 18 Jun 1998 22:58:52 +0000 (22:58 +0000)
        *lib/g77.exp: Replace search for libf2c.a with search for newly
        renamed libg2c.a

From-SVN: r20564

gcc/testsuite/ChangeLog
gcc/testsuite/lib/g77.exp

index d01cfabf7d68d181009150857277fe0ac495bc42..b5c4aab58d253c66919eb1058321664f3df512ca 100644 (file)
@@ -1,3 +1,8 @@
+Fri Jun 19 00:58:11 1998  Robert Lipe  <robertl@dgii.com>
+
+       *lib/g77.exp: Replace search for libf2c.a with search for newly
+       renamed libg2c.a
+
 Wed Jun 17 18:53:12 1998  Jeffrey A Law  (law@cygnus.com)
 
        * gcc.c-torture/execute/980617-1.c: New test.
index ba46a9f5499382b460362bc9f1ea43073ef3ffbc..d4993e70459595ad9b1663ca167afca7699abd8d 100644 (file)
@@ -143,10 +143,10 @@ proc g77_target_compile { source dest type options } {
     }
     if ![is_remote host] {
       set gccpath "[get_multilibs]"
-      set libf2c_dir [lookfor_file ${gccpath} libf2c/libf2c.a]
-      if { $libf2c_dir != "" } {
-       set libf2c_link_flags "-L[file dirname ${libf2c_dir}]"
-       lappend options "additional_flags=${libf2c_link_flags}"
+      set libg2c_dir [lookfor_file ${gccpath} libf2c/libg2c.a]
+      if { $libg2c_dir != "" } {
+       set libg2c_link_flags "-L[file dirname ${libg2c_dir}]"
+       lappend options "additional_flags=${libg2c_link_flags}"
       }
     }
     lappend options "compiler=$G77_UNDER_TEST"