Skip to content
Snippets Groups Projects
Commit 0e06e9e4 authored by Misty De Meo's avatar Misty De Meo
Browse files

Document --cc= for non-Apple compilers

parent 7c3d6ea8
No related branches found
No related tags found
No related merge requests found
......@@ -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.
......
.\" 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\.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment