Gentoo Archives: gentoo-embedded

From: Ned Ludd <solar@g.o>
To: gentoo-embedded@l.g.o
Subject: Re: [gentoo-embedded] using gentoo-embedded on Fedora 8
Date: Thu, 10 Jan 2008 23:12:58
Message-Id: 1200006705.682.14.camel@hangover
In Reply to: Re: [gentoo-embedded] using gentoo-embedded on Fedora 8 by Phani Babu Giddi
1 On Wed, 2008-01-09 at 19:25 -0800, Phani Babu Giddi wrote:
2 > Hi Matthijs,
3 >
4 > Can you tell me how does your /etc/make.conf look like. The Gentoo
5 > embedded documentation says that CHOST is that of the host which in my
6 > case is i686-pc-linux-gnu and that for CTARGET its
7 > i586-gentoo-linux-uclibc.
8 >
9 > But when I go through the Gentoo x86 documentation it refers CHOST as
10 > that of the target.
11 >
12 > My host is i686 and the target processor is Geode LX 800 which is i586
13 > with mmx.
14
15
16 Don't worry about any of that. If your host arch is x86 and you are
17 building for another x86 then it's really easy..
18
19
20 Just get the i386 uclibc stage. edit make.conf and set it to i586.
21 run bootstrap.sh
22
23 then enable FEATURES='buildpkg' in make.conf and just build naively
24 any/everything you want/need. No need to trouble yourself with cross
25 compilers. It will just cause you unnecessary headaches.
26
27
28 >
29 > Regards,
30 > Phani
31 >
32 > On Jan 8, 2008 12:53 AM, Matthijs Kooijman <matthijs@×××××.nl> wrote:
33 > > mkdir /opt/gentoo
34 > > cd /opt/gentoo
35 > > wget -O - -q $SOME_STAGEBALL | tar -jxvf -
36 > > cp /etc/resolv.conf etc/
37 > > chroot . /bin/bash --login
38 > > emerge --sync
39 > > $EDITOR /etc/make.conf
40 > > emerge crossdev
41 > > crossdev -t XXXXXXXXXXX -options XXXX --more_options XXXX
42 >
43 > I'm using exactly this, but on Debian instead of Fedora. Works
44 > perfectly. Even
45 > manages to run a 32 bit chroot on a 64 bit system :-)
46 >
47 > Gr.
48 >
49 > Matthijs
50 >
51 > -----BEGIN PGP SIGNATURE-----
52 > Version: GnuPG v1.4.6 (GNU/Linux)
53 >
54 > iD8DBQFHgzoVz0nQ5oovr7wRAo4hAKDjjsJtpolVLfDi1yW8w6AI1i0IpQCfZXWp
55 > 8fNxataku6oMfh0sPUY4HTQ=
56 > =PN6V
57 > -----END PGP SIGNATURE-----
58 >
59 >
60 --
61 Ned Ludd <solar@g.o>
62 Gentoo Linux
63
64 --
65 gentoo-embedded@l.g.o mailing list