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
723f1558
Commit
723f1558
authored
Dec 31, 1996
by
Ian Lance Taylor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Recognize mips-unknown-linux-gnu
From-SVN: r13347
parent
c4bb6b38
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
0 deletions
+17
-0
gcc/config.guess
+17
-0
No files found.
gcc/config.guess
View file @
723f1558
...
...
@@ -422,6 +422,23 @@ EOF
echo
alpha-unknown-linux-gnu
;
exit
0
elif
test
"
${
UNAME_MACHINE
}
"
=
"sparc"
;
then
echo
sparc-unknown-linux-gnu
;
exit
0
elif
test
"
${
UNAME_MACHINE
}
"
=
"mips"
;
then
cat
>
dummy.c
<<
EOF
main(argc, argv)
int argc;
char *argv[];
{
#ifdef __MIPSEB__
printf ("%s-unknown-linux-gnu\n", argv[1]);
#endif
#ifdef __MIPSEL__
printf ("%sel-unknown-linux-gnu\n", argv[1]);
#endif
return 0;
}
EOF
${
CC
-cc
}
dummy.c
-o
dummy 2>/dev/null
&&
./dummy
"
${
UNAME_MACHINE
}
"
&&
rm dummy.c dummy
&&
exit
0
rm
-f
dummy.c dummy
else
# Either a pre-BFD a.out linker (linux-gnuoldld) or one that does not give us
# useful --help. Gcc wants to distinguish between linux-gnuoldld and linux-gnuaout.
...
...
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