$export CC=/usr/local/Cellar/gcc/5.2.0/bin/x86_64-apple-darwin14.5.0-gcc-5.2.0
$export CFLAGS=-m64
$./build
Tuncs-MacBook-Pro:core morova$ ./build-unix
Detecting compiler properties
dyld: Library not loaded: /usr/local/lib/libisl.13.dylib
Referenced from: /usr/local/Cellar/gcc/5.2.0/libexec/gcc/x86_64-apple-darwin14.5.0/5.2.0/cc1
Reason: image not found
x86_64-apple-darwin14.5.0-gcc-5.2.0: internal compiler error: Trace/BPT trap: 5 (program cc1)
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://github.com/Homebrew/homebrew/issues> for instructions.
Compiler is 'bad'
Parameters are ' '
Cant determine compiler type