[Fwd: Pure static build of gcc, gfortran?]

Ian Lance Taylor iant@google.com
Wed Dec 17 20:59:00 GMT 2008


"John R. Cary" <cary@txcorp.com> writes:

> I am trying to build gcc purely static, in particular so that it
> need not have to find the mpfr and gmp libs, which it
> seems not to find.

The easiest way to do this is to unpack mpfr and gmp into your gcc
source directory, under the names "mpfr" and "gmp".  Then build gcc as
usual, without any special configure options.  It will find the
directories in the source and use them.

Ian



More information about the Gcc-help mailing list