Created
February 18, 2012 07:51
-
-
Save nulltask/1858105 to your computer and use it in GitHub Desktop.
brew --env with Xcode 4.3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ brew --env --use-gcc | |
| Error: GCC could not be found |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ma:.brew nulltask$ brew --env --use-llvm | |
| "--use-llvm" was specified | |
| CC: /usr/bin/llvm-gcc => /usr/llvm-gcc-4.2/bin/llvm-gcc-4.2 | |
| CXX: /usr/bin/llvm-g++ => /usr/llvm-gcc-4.2/bin/llvm-g++-4.2 | |
| LD: /usr/bin/llvm-gcc => /usr/llvm-gcc-4.2/bin/llvm-gcc-4.2 | |
| CFLAGS: -Os -w -pipe -march=core2 -msse4 | |
| CXXFLAGS: -Os -w -pipe -march=core2 -msse4 | |
| CPPFLAGS: -isystem /Users/nulltask/.brew/include | |
| LDFLAGS: -L/Users/nulltask/.brew/lib | |
| MAKEFLAGS: -j4 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ma:.brew nulltask$ brew --env | |
| CC: /usr/bin/clang | |
| CXX: /usr/bin/clang++ => /usr/bin/clang | |
| LD: /usr/bin/clang | |
| CFLAGS: -Os -w -pipe -march=native | |
| CXXFLAGS: -Os -w -pipe -march=native | |
| CPPFLAGS: -isystem /Users/nulltask/.brew/include | |
| LDFLAGS: -L/Users/nulltask/.brew/lib | |
| MAKEFLAGS: -j4 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ma:.brew nulltask$ ls -l /usr/bin/c{c,++} | |
| lrwxr-xr-x 1 root wheel 7 2 18 05:57 /usr/bin/c++ -> clang++ | |
| lrwxr-xr-x 1 root wheel 5 2 18 05:57 /usr/bin/cc -> clang |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
http://null.ly/post/17813077238/xcode-4-3-homebrew-use-llvm