]> granicus.if.org Git - clang/commitdiff
Document environment variables we handle, and don't mention -pipe (it
authorDaniel Dunbar <daniel@zuster.org>
Wed, 6 May 2009 19:18:09 +0000 (19:18 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Wed, 6 May 2009 19:18:09 +0000 (19:18 +0000)
isn't yet supported... lazy developers).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@71109 91177308-0d34-0410-b5e6-96231b3b80d8

docs/tools/clang.pod

index 3461674befe34cf2544c3a88c7f210fdc67763ed..3a2c2a4c48a88d7e5a0574c6e70b276508fb0ed8 100644 (file)
@@ -179,11 +179,6 @@ Pass I<arg> to the preprocessor.
 
 Write output to I<file>.
 
-=item B<-pipe>
-
-FIXME: WHY DOCUMENT THIS.
-Use pipes between commands, when possible.
-
 =item B<-print-file-name>=I<file>
 
 Print the full library path of I<file>.
@@ -263,14 +258,41 @@ Treat subsequent input files as having type I<language>.
 
 =head1 ENVIRONMENT
 
-No environment variables read.
+=over
+
+=item B<TMPDIR>, B<TEMP>, B<TMP>
+
+These environment variables are checked, in order, for the location to
+write temporary files used during the compilation process.
+
+=item B<CPATH>
+
+If this environment variable is present, it is treated as a delimited
+list of paths to be added to the default system include path list. The
+delimiter is the platform dependent delimitor, as used in the I<PATH>
+environment variable.
+
+Empty components in the environment variable are ignored.
+
+=item B<C_INCLUDE_PATH>, B<OBJC_INCLUDE_PATH>, B<CPLUS_INCLUDE_PATH>,
+B<OBJCPLUS_INCLUDE_PATH>
+
+These environment variables specify additional paths, as for CPATH,
+which are only used when processing the appropriate language.
+
+=item B<MACOSX_DEPLOYMENT_TARGET> (Apple only)
+
+If -mmacosx-version-min is unspecified, the default deployment target
+is read from this environment variable.
+
+=back
 
 =head1 BUGS
 
 Clang currently does not have C++ support, and this manual page is incomplete.
 To report bugs, please visit L<http://llvm.org/bugs/>.  Most bug reports should
-include preprocessed source files (use the B<-E> option) along with information
-to reproduce.
+include preprocessed source files (use the B<-E> option) and the full output of 
+the compiler, along with information to reproduce.
 
 =head1 SEE ALSO