troubles with gmp

Sam Rawlins sam.rawlins at gmail.com
Fri Apr 20 00:51:14 CEST 2012


Hi Soumia,

As a personal recommendation to anyone doing C development on Mac OS X:

Rather than Mac's gcc, or Mac's LLVM (I just never liked Xcode...), I
install MacPorts [1] (other people like Homebrew [2]) and from there
install some base-level gcc that gmp can be compiled with. MacPorts and
Homebrew are similar to other binary package management systems like rpm,
deb, portage. Once MacPorts is installed, you can:

$ port install gcc
... a long time later ... can build gmp using this much better gcc.

[1] http://www.macports.org/
[2] http://mxcl.github.com/homebrew/

On Thu, Apr 19, 2012 at 5:57 AM, Soumia Sefsafi <soumia.sefsafi at inria.fr>wrote:

> ok,thank you for your help, i'll reinstall xcode.
>
> Best regards
>
> ----- Mail original -----
> > De: "Marc Glisse" <marc.glisse at inria.fr>
> > À: "Soumia Sefsafi" <soumia.sefsafi at inria.fr>
> > Cc: gmp-bugs at gmplib.org
> > Envoyé: Jeudi 19 Avril 2012 14:54:59
> > Objet: Re: troubles with gmp
> > On Thu, 19 Apr 2012, Soumia Sefsafi wrote:
> >
> > > Thanks for your help, actually i want to install gcc-4.2
> >
> > It is probably already installed on your machine, comes from Apple
> > too.
> >
> > > but to do that in the documentation of gcc i found that to build it
> > > i
> > > need GMP, MPFR and/or MPC.
> >
> > I think this requirement is more recent than that, gcc-4.2 probably
> > didn't
> > require gmp. But if you are going to build gcc, might as well build
> > 4.7,
> > which does require gmp. So get a better compiler from Apple first
> > (reinstall XCode if you don't have one).
> >
> > --
> > Marc Glisse
> _______________________________________________
> gmp-bugs mailing list
> gmp-bugs at gmplib.org
> https://gmplib.org/mailman/listinfo/gmp-bugs
>



-- 
Sam Rawlins


More information about the gmp-bugs mailing list