aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMisty De Meo2013-09-01 13:23:40 -0700
committerMisty De Meo2013-09-01 13:23:40 -0700
commit0e06e9e4b937c9d43f41d6eca49de61bff2f0c46 (patch)
tree36e8b05378eb0411e7ee7d57b9ec2a7a90ecc28c
parent7c3d6ea81c23d4c2c9daf4c9d97e75e6ac6320a5 (diff)
downloadbrew-0e06e9e4b937c9d43f41d6eca49de61bff2f0c46.tar.bz2
Document --cc= for non-Apple compilers
-rw-r--r--Library/Contributions/manpages/brew.1.md2
-rw-r--r--share/man/man1/brew.14
2 files changed, 4 insertions, 2 deletions
diff --git a/Library/Contributions/manpages/brew.1.md b/Library/Contributions/manpages/brew.1.md
index f14411874..723d945a0 100644
--- a/Library/Contributions/manpages/brew.1.md
+++ b/Library/Contributions/manpages/brew.1.md
@@ -172,6 +172,8 @@ Note that these flags should only appear after a command.
If `--cc=<compiler>` is passed, attempt to compile using the specified
compiler. The specified argument should be the name of the compiler's
executable, for instance `gcc-4.2` for Apple's GCC 4.2.
+ This option is the only way to select a non-Apple compiler; for instance,
+ to build using a Homebrew-provided GCC 4.8, use `--cc=gcc-4.8`
If `--use-clang` is passed, attempt to compile using clang.
diff --git a/share/man/man1/brew.1 b/share/man/man1/brew.1
index 014f5578c..c5f1e00c5 100644
--- a/share/man/man1/brew.1
+++ b/share/man/man1/brew.1
@@ -1,7 +1,7 @@
.\" generated with Ronn/v0.7.3
.\" http://github.com/rtomayko/ronn/tree/0.7.3
.
-.TH "BREW" "1" "August 2013" "Homebrew" "brew"
+.TH "BREW" "1" "September 2013" "Homebrew" "brew"
.
.SH "NAME"
\fBbrew\fR \- The missing package manager for OS X
@@ -192,7 +192,7 @@ If \fB\-\-ignore\-dependencies\fR is passed, skip installing any dependencies of
If \fB\-\-fresh\fR is passed, the installation process will not re\-use any options from previous installs\.
.
.IP
-If \fB\-\-cc=<compiler>\fR is passed, attempt to compile using the specified compiler\. The specified argument should be the name of the compiler\'s executable, for instance \fBgcc\-4\.2\fR for Apple\'s GCC 4\.2\.
+If \fB\-\-cc=<compiler>\fR is passed, attempt to compile using the specified compiler\. The specified argument should be the name of the compiler\'s executable, for instance \fBgcc\-4\.2\fR for Apple\'s GCC 4\.2\. This option is the only way to select a non\-Apple compiler; for instance, to build using a Homebrew\-provided GCC 4\.8, use \fB\-\-cc=gcc\-4\.8\fR
.
.IP
If \fB\-\-use\-clang\fR is passed, attempt to compile using clang\.