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:
parent
7c74b010d7
commit
031644533d
@ -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.
|
||||
|
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user