On Tuesday 06 May 2008, Ned Ludd wrote:
> On Tue, 2008-05-06 at 17:24 -0400, Mike Frysinger wrote:
> > On Tuesday 06 May 2008, Christopher Friedt wrote:
> > > This is a 'chicken / egg' problem. In order to build a cross compiler
> > > for arch X you need mpfr compiled for arch X. In order to build mpfr
> > > for arch X you need a toolchain for arch X.
> > >
> > > Try building the cross-compiler without mpfr first, then build libmpfr,
> > > and then rebuild the cross compiler.
> >
> > you cant build gcc-4.3 without gmp and mpfr.  they're hard requirements. 
> > but they're requirements that the host system has it, not that they are
> > cross-compiled for the target.
>
> this might pose a problem at Gentoo as I don't think mpfr can even be
> cross compiled in the first place. I might be wrong but I seem to recall
> fighting with it in the last week using ( arm-softfloat-linux-uclibc ||
> arm*-softloat-linux-gnueabi).

i said they are host libraries, not target libraries.  gcc itself uses them in 
order to even execute in the first place starting with gcc-4.3.

what Christopher is probably referring to is gfortran support ... it requires 
mpfr/gmp to be cross-compiled.

but to address your question, they both do cross-compile fine.  i just did it 
two days ago for mingw32 target so that i could build up a gfortran 
cross-compiler.
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to