Mac OSX uses clang instead of gcc as the default C compiler. We can manually compile and install gcc in OSX.
- GMP: GNU Multiple Precision Arithmetic Library
- MPFR: Multiple-Precision Floating-point computations with correct Rounding
- MPC: C library for the arithmetic of complex numbers
Install GMP and MPFR by homebrew
Install MPC by source code
(the mpc version in homebrew is too old)
There seems to be some problem in 4.9.0