From 0e06e9e4b937c9d43f41d6eca49de61bff2f0c46 Mon Sep 17 00:00:00 2001 From: Misty De Meo Date: Sun, 1 Sep 2013 13:23:40 -0700 Subject: Document --cc= for non-Apple compilers --- Library/Contributions/manpages/brew.1.md | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Library') 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=` 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. -- cgit v1.2.3