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
5a570ade
Commit
5a570ade
authored
Nov 12, 1996
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(exit): If VMS, define as __posix_exit.
(option_map): Add define-macro and undefine-macro. From-SVN: r13150
parent
ec0fb163
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
gcc/gcc.c
+7
-3
No files found.
gcc/gcc.c
View file @
5a570ade
...
...
@@ -81,6 +81,10 @@ extern int pwait PROTO ((int, int *, int));
#define WEXITSTATUS(S) (((S) & 0xff00) >> 8)
#endif
#ifdef VMS
#define exit __posix_exit
#endif
/* Define O_RDONLY if the system hasn't defined it for us. */
#ifndef O_RDONLY
#define O_RDONLY 0
...
...
@@ -775,7 +779,7 @@ struct option_map option_map[] =
{
"--comments"
,
"-C"
,
0
},
{
"--compile"
,
"-c"
,
0
},
{
"--debug"
,
"-g"
,
"oj"
},
{
"--define-macro"
,
"-D"
,
"a"
},
{
"--define-macro"
,
"-D"
,
"a
j
"
},
{
"--dependencies"
,
"-M"
,
0
},
{
"--dump"
,
"-d"
,
"a"
},
{
"--dumpbase"
,
"-dumpbase"
,
"a"
},
...
...
@@ -787,7 +791,7 @@ struct option_map option_map[] =
{
"--imacros"
,
"-imacros"
,
"a"
},
{
"--include"
,
"-include"
,
"a"
},
{
"--include-barrier"
,
"-I-"
,
0
},
{
"--include-directory"
,
"-I"
,
"a"
},
{
"--include-directory"
,
"-I"
,
"a
j
"
},
{
"--include-directory-after"
,
"-idirafter"
,
"a"
},
{
"--include-prefix"
,
"-iprefix"
,
"a"
},
{
"--include-with-prefix"
,
"-iwithprefix"
,
"a"
},
...
...
@@ -830,7 +834,7 @@ struct option_map option_map[] =
{
"--traditional"
,
"-traditional"
,
0
},
{
"--traditional-cpp"
,
"-traditional-cpp"
,
0
},
{
"--trigraphs"
,
"-trigraphs"
,
0
},
{
"--undefine-macro"
,
"-U"
,
"a"
},
{
"--undefine-macro"
,
"-U"
,
"a
j
"
},
{
"--use-version"
,
"-V"
,
"a"
},
{
"--user-dependencies"
,
"-MM"
,
0
},
{
"--verbose"
,
"-v"
,
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