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 | 16af476c4229bc4fb66f0bbbe90168bbe9026625 (patch) | |
tree | d5b40eaedde296bf3d95650e913b0649eba8cb94 /clang/docs/tools | |
parent | 72b6582c0fd71d155bbaeb407a20efc493447dac (diff) | |
download | bcm5719-llvm-16af476c4229bc4fb66f0bbbe90168bbe9026625.tar.gz bcm5719-llvm-16af476c4229bc4fb66f0bbbe90168bbe9026625.zip |
Document environment variables we handle, and don't mention -pipe (it
isn't yet supported... lazy developers).
llvm-svn: 71109
Diffstat (limited to 'clang/docs/tools')
-rw-r--r-- | clang/docs/tools/clang.pod | 38 |
1 files changed, 30 insertions, 8 deletions
diff --git a/clang/docs/tools/clang.pod b/clang/docs/tools/clang.pod index 3461674befe..3a2c2a4c48a 100644 --- a/clang/docs/tools/clang.pod +++ b/clang/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 |