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
4dbc7773
Commit
4dbc7773
authored
Aug 06, 1993
by
Ian Lance Taylor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Permit relative path for standard_startfile_prefix
From-SVN: r5091
parent
bf026369
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
2 deletions
+22
-2
gcc/gcc.c
+22
-2
No files found.
gcc/gcc.c
View file @
4dbc7773
...
...
@@ -3718,8 +3718,28 @@ main (argc, argv)
add_prefix
(
&
startfile_prefix
,
md_startfile_prefix_1
,
0
,
0
,
NULL_PTR
);
#endif
add_prefix
(
&
startfile_prefix
,
standard_startfile_prefix
,
0
,
0
,
NULL_PTR
);
/* If standard_startfile_prefix is relative, base it on
standard_exec_prefix. This lets us move the installed tree
as a unit. If GCC_EXEC_PREFIX is defined, base
standard_startfile_prefix on that as well. */
if
(
*
standard_startfile_prefix
==
'/'
)
add_prefix
(
&
startfile_prefix
,
standard_startfile_prefix
,
0
,
0
,
NULL_PTR
);
else
{
if
(
gcc_exec_prefix
)
add_prefix
(
&
startfile_prefix
,
concat
(
gcc_exec_prefix
,
machine_suffix
,
standard_startfile_prefix
),
0
,
0
,
NULL_PTR
);
add_prefix
(
&
startfile_prefix
,
concat
(
standard_exec_prefix
,
machine_suffix
,
standard_startfile_prefix
),
0
,
0
,
NULL_PTR
);
}
add_prefix
(
&
startfile_prefix
,
standard_startfile_prefix_1
,
0
,
0
,
NULL_PTR
);
add_prefix
(
&
startfile_prefix
,
standard_startfile_prefix_2
,
0
,
0
,
...
...
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