summaryrefslogtreecommitdiffhomepage
path: root/cparser.1
diff options
context:
space:
mode:
authorChristoph Mallon <christoph.mallon@gmx.de>2015-12-31 22:45:18 +0100
committerChristoph Mallon <christoph.mallon@gmx.de>2015-12-31 23:47:48 +0100
commita95c42ee823f84016d748073c8b0270ba1caf373 (patch)
treeb16697f9ed5f4c2fd19e84e0dd2e33e78c6a8b4f /cparser.1
parentd1ccc955cdf0784e22fb3c980af405c107eb65a0 (diff)
manpage: Document '-target'.
Diffstat (limited to 'cparser.1')
-rw-r--r--cparser.118
1 files changed, 18 insertions, 0 deletions
diff --git a/cparser.1 b/cparser.1
index 9a178c2..e13f231 100644
--- a/cparser.1
+++ b/cparser.1
@@ -9,6 +9,7 @@
.Op Fl c | S | E | -print-ast
.Op Fl -print-implicit-cast
.Op Fl -print-parenthesis
+.Op Fl target Ar architecture Ns - Ns Ar vendor Ns - Ns Ar system
.Op Fl ansi
.Op Fl std= Ns Ar standard
.Op Fl - Ns Oo Cm no- Oc Ns Cm gcc
@@ -57,6 +58,23 @@ show casts, which are inserted by the semantic checks.
When using
.Fl -print-ast ,
show all expressions fully parenthesized.
+.It Fl target Ar architecture Ns - Ns Ar vendor Ns - Ns Ar system
+Set target, for which code is generated.
+Supported
+.Ar architecture Ns s are
+.Cm amd64 , arm , i386 , i486 , i586 , i686 , i787 , sparc
+and
+.Cm x86_64.
+Supported
+.Ar vendor Ns s are
+.Cm leon
+(for sparc) and
+.Cm unknown.
+Supported
+.Ar system Ns s are
+.Cm *bsd*, darwin*, elf, irtss, *linux*, midipix*, mingw*
+and
+.Cm octopos .
.It Fl ansi
Same as -std=c90 (for C) or -std=c++98 (for C++).
.It Fl std= Ns Ar standard