This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: r117933: cross-bootstrap issue: cross-GMP/MPFR needed?

On Sun, 22 Oct 2006, Jan-Benedict Glaw wrote:

> Hi!
> r117933 had a side-effect: when cross-compiling a C-only gcc to run on
> a target machine, it seems that you now have to cross-bulid gmp/mpfr
> before building the target-hosted compiler.

No you shouldn't need to cross-build gmp/mpfr.  These libs are only linked
in with "host" programs, not "build" or "target" programs.  I.e. they're
meant to be linked with cc1.  If you're building a cross-compiler, (even a
canadian-cross) it should make no difference.  Just specify the location
of the libraries using one of the existing --with-gmp/--with-mpfr options.

If you do have host versions of these libs and that's not working please
let me know.

> Was this intentional,
> given that this stuff seems to be not needed for the C frontend?
> MfG, JBG

Yes it was intentional.  These libs will be used from the middle-end
hopefully very shortly. See:

The consensus was to go ahead and require them.

If you don't have the appropriate versions of GMP and MPFR installed, you
need to get them (even if you're just building C) as per the new
prerequisites I documented in the manual:

Kaveh R. Ghazi

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]