1 |
Hi, |
2 |
I am able to successfully build cross compiler toolchain using gcc-4.3 |
3 |
after installing mpfr-2.3.1 libraries on host system. |
4 |
Thank you for all your help and support. |
5 |
|
6 |
Regards, |
7 |
Dilip |
8 |
|
9 |
-----Original Message----- |
10 |
From: Mike Frysinger [mailto:vapier@g.o] |
11 |
Sent: Wednesday, May 07, 2008 9:56 AM |
12 |
To: gentoo-embedded@l.g.o |
13 |
Cc: Ned Ludd; Christopher Friedt |
14 |
Subject: Re: [gentoo-embedded] GCC 4.3 fails on mpfr |
15 |
|
16 |
On Tuesday 06 May 2008, Ned Ludd wrote: |
17 |
> On Tue, 2008-05-06 at 17:24 -0400, Mike Frysinger wrote: |
18 |
> > On Tuesday 06 May 2008, Christopher Friedt wrote: |
19 |
> > > This is a 'chicken / egg' problem. In order to build a cross |
20 |
compiler |
21 |
> > > for arch X you need mpfr compiled for arch X. In order to build |
22 |
mpfr |
23 |
> > > for arch X you need a toolchain for arch X. |
24 |
> > > |
25 |
> > > Try building the cross-compiler without mpfr first, then build |
26 |
libmpfr, |
27 |
> > > and then rebuild the cross compiler. |
28 |
> > |
29 |
> > you cant build gcc-4.3 without gmp and mpfr. they're hard |
30 |
requirements. |
31 |
> > but they're requirements that the host system has it, not that they |
32 |
are |
33 |
> > cross-compiled for the target. |
34 |
> |
35 |
> this might pose a problem at Gentoo as I don't think mpfr can even be |
36 |
> cross compiled in the first place. I might be wrong but I seem to |
37 |
recall |
38 |
> fighting with it in the last week using ( arm-softfloat-linux-uclibc |
39 |
|| |
40 |
> arm*-softloat-linux-gnueabi). |
41 |
|
42 |
i said they are host libraries, not target libraries. gcc itself uses |
43 |
them in |
44 |
order to even execute in the first place starting with gcc-4.3. |
45 |
|
46 |
what Christopher is probably referring to is gfortran support ... it |
47 |
requires |
48 |
mpfr/gmp to be cross-compiled. |
49 |
|
50 |
but to address your question, they both do cross-compile fine. i just |
51 |
did it |
52 |
two days ago for mingw32 target so that i could build up a gfortran |
53 |
cross-compiler. |
54 |
-mike |
55 |
-- |
56 |
gentoo-embedded@l.g.o mailing list |