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
This commit is contained in:
Robert Lipe 1998-06-18 22:58:52 +00:00 committed by Robert Lipe
parent 7c74b010d7
commit 031644533d
2 changed files with 9 additions and 4 deletions

View 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.

View 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"