aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRobert Lipe <robertl@dgii.com>1998-06-18 22:58:52 +0000
committerRobert Lipe <robertl@gcc.gnu.org>1998-06-18 22:58:52 +0000
commit031644533db1a7d718cdb2bd5c1c2e14ee14aaf9 (patch)
tree45916577cd27a8bc055895976873a2856c94288a /gcc
parent7c74b010d72a4bb1fb6e2647c75a88b865e137b2 (diff)
downloadgcc-031644533db1a7d718cdb2bd5c1c2e14ee14aaf9.zip
gcc-031644533db1a7d718cdb2bd5c1c2e14ee14aaf9.tar.gz
gcc-031644533db1a7d718cdb2bd5c1c2e14ee14aaf9.tar.bz2
g77.exp: Replace search for libf2c.a with search for newly renamed libg2c.a
*lib/g77.exp: Replace search for libf2c.a with search for newly renamed libg2c.a From-SVN: r20564
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/lib/g77.exp8
2 files changed, 9 insertions, 4 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index d01cfab..b5c4aab 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -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.
diff --git a/gcc/testsuite/lib/g77.exp b/gcc/testsuite/lib/g77.exp
index ba46a9f..d4993e7 100644
--- a/gcc/testsuite/lib/g77.exp
+++ b/gcc/testsuite/lib/g77.exp
@@ -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"