Gentoo Archives: gentoo-embedded

From: Dilip Malinur Ramesh <Dilip.Ramesh@×××××××××××.com>
To: gentoo-embedded@l.g.o
Cc: Christopher Friedt <cfriedt@××××××××××××××.com>, Mike Frysinger <vapier@g.o>
Subject: RE: [gentoo-embedded] GCC 4.3 fails on mpfr
Date: Wed, 07 May 2008 07:01:39
Message-Id: 78DE440C4156CC45A35FDBCBF9B830D702E12B5E@sohm.kpit.com
In Reply to: Re: [gentoo-embedded] GCC 4.3 fails on mpfr by Mike Frysinger
1 >> you cant build gcc-4.3 without gmp and mpfr. they're hard
2 requirements. >> but they're requirements that the host system has it,
3 not that they are
4 >> cross-compiled for the target.
5
6 Mpfr librarires was not installed on my host system. I have now
7 installed it using 'emerge mpfr' [mpfr-2.3.1]. I have successfully built
8 cross compiler toolchain up to gcc stage 1 (using crossdev), currently
9 glibc is getting built and will update once it completes final toolchain
10 building.
11
12 Thanks and regards,
13 Dilip
14
15 -----Original Message-----
16 From: Mike Frysinger [mailto:vapier@g.o]
17 Sent: Wednesday, May 07, 2008 2:55 AM
18 To: gentoo-embedded@l.g.o
19 Cc: Christopher Friedt
20 Subject: Re: [gentoo-embedded] GCC 4.3 fails on mpfr
21
22 On Tuesday 06 May 2008, Christopher Friedt wrote:
23 > This is a 'chicken / egg' problem. In order to build a cross compiler
24 > for arch X you need mpfr compiled for arch X. In order to build mpfr
25 for
26 > arch X you need a toolchain for arch X.
27 >
28 > Try building the cross-compiler without mpfr first, then build
29 libmpfr,
30 > and then rebuild the cross compiler.
31
32 you cant build gcc-4.3 without gmp and mpfr. they're hard requirements.
33 but
34 they're requirements that the host system has it, not that they are
35 cross-compiled for the target.
36 -mike
37 --
38 gentoo-embedded@l.g.o mailing list

Replies

Subject Author
Re: [gentoo-embedded] GCC 4.3 fails on mpfr Mike Frysinger <vapier@g.o>