Commit 03164453 by Robert Lipe Committed by Robert Lipe

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
parent 7c74b010
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"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment