diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-05-06 19:18:09 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-05-06 19:18:09 +0000 |
commit | e58c943441833914d2660be44e1d03a9a4c0b726 (patch) | |
tree | db0801cd9bc8a173e76984dc1b5100047f79e6b7 | |
parent | 4253051c16d0c2a5ae13af3d22383b61071ecb4c (diff) |
Document environment variables we handle, and don't mention -pipe (it
isn't yet supported... lazy developers).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@71109 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | docs/tools/clang.pod | 38 |
1 files changed, 30 insertions, 8 deletions
diff --git a/docs/tools/clang.pod b/docs/tools/clang.pod index 3461674bef..3a2c2a4c48 100644 --- a/docs/tools/clang.pod +++ b/docs/tools/clang.pod @@ -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 |