Gentoo Archives: gentoo-embedded

From: Kfir Lavi <lavi.kfir@×××××.com>
To: gentoo-embedded@l.g.o
Subject: Re: [gentoo-embedded] CBUILD= HOSTCC=-gcc
Date: Mon, 03 Jan 2011 16:11:55
Message-Id: AANLkTikcSR2VEOs9Fqz9rbrLcDDQ-thX8o7mEaWwF5Cr@mail.gmail.com
In Reply to: Re: [gentoo-embedded] CBUILD= HOSTCC=-gcc by Christoph Spielmann
1 On Mon, Jan 3, 2011 at 2:17 PM, Christoph Spielmann <spielc@×××××.com>wrote:
2
3 > Hi,
4 >
5 > Am 03.01.2011 10:21, schrieb Kfir Lavi:
6 >
7 >
8 >
9 > On Sun, Jan 2, 2011 at 9:31 PM, Mike Frysinger <vapier@g.o> wrote:
10 >
11 >> On Sunday, January 02, 2011 13:59:43 Peter Stuge wrote:
12 >> > Kfir Lavi wrote:
13 >> > > crossdev i686-gentoo.edge-linux-gnu
14 >> >
15 >> > ..
16 >> >
17 >> > > CBUILD=i686-pc-linux-gnu
18 >> >
19 >> > I'm pretty sure you should use i686-pc-linux-gnu as the crossdev
20 >> > tuple then. I don't think making up arbitrary tuples works.
21 >> (gentoo.edge)
22 >>
23 >> the vendor field is supposed to be arbitrary and the only char that
24 >> should
25 >> cause a split is a "-". not that we test every char though, so there
26 >> might be
27 >> bugs sitting around that most people dont notice.
28 >> -mike
29 >>
30 > I tried it again running
31 > crossdev i686-gentoo-linux-gnu
32 >
33 >
34 > Once again, wrong vendor field: It really should be i686-pc-linux-gnu as
35 > Mike suggested
36 >
37 >
38 > and got the same results.
39 >
40 > What can be wrong with my setup?
41 >
42 > Thanks,
43 > Kfir
44 >
45 >
46 > What I did is funny:
47 CBUILD=i686-pc-linux-gnu
48 HOSTCC=i686-pc-linux-gnu-gcc
49
50 So it seems I'm using my native compiler?!
51 And I'm not using my i686-gentoo-linux-gnu-gcc
52
53 Can I see which compiler is really working if I change CBUILD to
54 i686-gentoo-linux-gnu?
55
56 Thanks,
57 Kfir

Replies

Subject Author
Re: [gentoo-embedded] CBUILD= HOSTCC=-gcc Christoph Spielmann <spielc@×××××.com>