summaryrefslogtreecommitdiffhomepage
path: root/cparser.1
diff options
context:
space:
mode:
authorZ. Gilboa <zgilboa@virginia.edu>2016-01-07 12:00:52 +0100
committerChristoph Mallon <christoph.mallon@gmx.de>2016-01-15 06:53:04 +0100
commitf64590b3395a425f5723885fd3b20abd8e3fb1a9 (patch)
treeca83b3e08edb7c49a3a88ef24fbd75a9386cf7ca /cparser.1
parentfa6f3af7139f3df77fa004a78e21a2363e1b5da6 (diff)
driver: Implement '--sysroot' and '-isysroot'.
Diffstat (limited to 'cparser.1')
-rw-r--r--cparser.110
1 files changed, 10 insertions, 0 deletions
diff --git a/cparser.1 b/cparser.1
index e13f231..4fa94cc 100644
--- a/cparser.1
+++ b/cparser.1
@@ -30,6 +30,8 @@
.Op Fl x Ar language
.Op Fl Wl, Ns Ar option
.Op Fl Wp, Ns Ar option
+.Op Fl -sysroot= Ns Ar dir
+.Op Fl isysroot Ar dir
.Ar
.Sh DESCRIPTION
.Nm
@@ -369,6 +371,14 @@ to the linker.
Pass
.Ar option
to the preprocessor.
+.It Fl -sysroot= Ns Ar dir , Fl -sysroot Ar dir
+.No Use Ar dir No as prefix for all implicit include and library paths of the compiler driver as well as for all include and library paths, which start with Sq = .
+.No For include paths this option is superseded by Fl isysroot .
+.No By default no prefix is used and So = Sc is not replaced.
+.It Fl isysroot Ns Ar dir , Fl isysroot Ar dir
+.No Use Ar dir No as prefix for all implicit include paths of the compiler driver as well as for all include paths, which start with Sq = .
+.No this supersedes Fl -sysroot .
+.No By default no prefix is used and So = Sc is not replaced.
.El
.Sh SEE ALSO
.Xr gcc 1 ,