projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5619cc8
)
(process_command): Add new switch, -dumpmachine.
author
Richard Kenner
<kenner@gcc.gnu.org>
Tue, 20 Sep 1994 21:49:35 +0000
(17:49 -0400)
committer
Richard Kenner
<kenner@gcc.gnu.org>
Tue, 20 Sep 1994 21:49:35 +0000
(17:49 -0400)
From-SVN: r8102
gcc/gcc.c
patch
|
blob
|
history
diff --git
a/gcc/gcc.c
b/gcc/gcc.c
index 2a9f14554c6da563d5106619f5707dd558f72c34..977b7032afe3608e6aa5fd415f275b6fc4b04c6f 100644
(file)
--- a/
gcc/gcc.c
+++ b/
gcc/gcc.c
@@
-2389,6
+2389,11
@@
process_command (argc, argv)
printf ("%s\n", version_string);
exit (0);
}
+ else if (! strcmp (argv[i], "-dumpmachine"))
+ {
+ printf ("%s\n", spec_machine);
+ exit (0);
+ }
else if (! strcmp (argv[i], "-print-libgcc-file-name"))
print_file_name = "libgcc.a";
else if (! strncmp (argv[i], "-print-file-name=", 17))