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
35e6511a
Commit
35e6511a
authored
21 years ago
by
Tom Tromey
Committed by
Tom Tromey
21 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* gij.cc (main): Handle -? and -X.
From-SVN: r70390
parent
b4966b1b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
2 deletions
+15
-2
libjava/ChangeLog
+4
-0
libjava/gij.cc
+11
-2
No files found.
libjava/ChangeLog
View file @
35e6511a
2003
-
08
-
12
Tom
Tromey
<
tromey
@
redhat
.
com
>
*
gij
.
cc
(
main
):
Handle
-?
and
-
X
.
2003
-
08
-
10
Jeroen
Frijters
<
jeroen
@
frijters
.
net
>
*
java
/
awt
/
Container
.
java
...
...
This diff is collapsed.
Click to expand it.
libjava/gij.cc
View file @
35e6511a
/* Copyright (C) 1999, 2000, 2001, 2002 Free Software Foundation
/* Copyright (C) 1999, 2000, 2001, 2002
, 2003
Free Software Foundation
This file is part of libgcj.
...
...
@@ -90,7 +90,7 @@ main (int argc, const char **argv)
if
(
arg
[
1
]
==
'-'
)
++
arg
;
if
(
!
strcmp
(
arg
,
"-help"
))
if
(
!
strcmp
(
arg
,
"-help"
)
||
!
strcmp
(
arg
,
"-?"
)
)
help
();
else
if
(
!
strcmp
(
arg
,
"-version"
))
{
...
...
@@ -132,6 +132,15 @@ main (int argc, const char **argv)
// correct behavior.
_Jv_Jar_Class_Path
=
argv
[
++
i
];
}
else
if
(
arg
[
1
]
==
'X'
)
{
if
(
arg
[
2
]
==
'\0'
)
{
printf
(
"gij: currently no -X options are recognized
\n
"
);
exit
(
0
);
}
/* Ignore other -X options. */
}
else
{
fprintf
(
stderr
,
"gij: unrecognized option -- `%s'
\n
"
,
argv
[
i
]);
...
...
This diff is collapsed.
Click to expand it.
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