From: hjl@lucon.org (H.J. Lu)
To: jgotts@engin.umich.edu
Cc: egcs@cygnus.com
Subject: A libf2c patch for egcs
Date: Mon, 09 Feb 1998 15:15:00 -0000 [thread overview]
Message-ID: <m0y1zx1-0004ecC@ocean.lucon.org> (raw)
Hi,
This patch should fix those new g77 test failures. Maybe it
should be in dejagnu.
--
H.J. Lu (hjl@gnu.org)
---
Mon Feb 9 08:34:13 1998 H.J. Lu (hjl@gnu.org)
* lib/g77.exp (g77_target_compile): Fix multilibs for libf2c.
Index: lib/g77.exp
===================================================================
RCS file: /home/work/cvs/gnu/egcs/gcc/testsuite/lib/g77.exp,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 g77.exp
--- g77.exp 1997/10/09 17:31:30 1.1.1.1
+++ g77.exp 1998/02/09 20:31:03
@@ -141,6 +141,14 @@
if [target_info exists g77,no_varargs] {
lappend options "additional_flags=-DNO_VARARGS"
}
+ 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}"
+ }
+ }
lappend options "compiler=$G77_UNDER_TEST"
return [target_compile $source $dest $type $options]
}
next reply other threads:[~1998-02-09 15:15 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-02-09 15:15 H.J. Lu [this message]
1998-02-09 22:54 ` Jeffrey A Law
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m0y1zx1-0004ecC@ocean.lucon.org \
--to=hjl@lucon.org \
--cc=egcs@cygnus.com \
--cc=jgotts@engin.umich.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).