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
5bb67e36
Commit
5bb67e36
authored
Jun 21, 1997
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Check for and read ${libdir}/gcc-lib/specs to override the default specs.
From-SVN: r14278
parent
335cd084
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
gcc/gcc.c
+12
-0
No files found.
gcc/gcc.c
View file @
5bb67e36
...
...
@@ -4386,6 +4386,18 @@ main (argc, argv)
else
init_spec
();
/* We need to check standard_exec_prefix/just_machine_suffix/specs
for any override of as, ld and libraries. */
specs_file
=
(
char
*
)
alloca
(
strlen
(
standard_exec_prefix
)
+
strlen
(
just_machine_suffix
)
+
sizeof
(
"specs"
));
strcpy
(
specs_file
,
standard_exec_prefix
);
strcat
(
specs_file
,
just_machine_suffix
);
strcat
(
specs_file
,
"specs"
);
if
(
access
(
specs_file
,
R_OK
)
==
0
)
read_specs
(
specs_file
,
TRUE
);
/* Process any user specified specs in the order given on the command
line. */
for
(
uptr
=
user_specs_head
;
uptr
;
uptr
=
uptr
->
next
)
...
...
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