Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
b45f3a91
Commit
b45f3a91
authored
Feb 09, 1998
by
H.J. Lu
Committed by
Jeff Law
Feb 09, 1998
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* lib/g77.exp (g77_target_compile): Fix multilibs for libf2c.
From-SVN: r17818
parent
2fd0af53
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
0 deletions
+11
-0
gcc/testsuite/ChangeLog
+3
-0
gcc/testsuite/lib/g77.exp
+8
-0
No files found.
gcc/testsuite/ChangeLog
View file @
b45f3a91
Mon Feb 9 02:08:47 1998 H.J. Lu (hjl@gnu.org)
* lib/g77.exp (g77_target_compile): Fix multilibs for libf2c.
* lib/old-dejagnu.exp (old-dejagnu): Added the
"execution test - XFAIL *-*-*" handling in the spirit of
"excess errors test -". Changed the "execution test fails"
...
...
gcc/testsuite/lib/g77.exp
View file @
b45f3a91
...
...
@@ -141,6 +141,14 @@ proc g77_target_compile { source dest type options } {
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]
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment