Gentoo Archives: gentoo-embedded

From: Peter Stuge <peter@×××××.se>
To: gentoo-embedded@l.g.o
Subject: Re: [gentoo-embedded] How to manage multiple distributions, cross compilers in one chroot environment
Date: Fri, 07 Jan 2011 20:33:41
Message-Id: 20110107200320.19710.qmail@stuge.se
In Reply to: Re: [gentoo-embedded] How to manage multiple distributions, cross compilers in one chroot environment by Kfir Lavi
1 Kfir Lavi wrote:
2 > Ok, lets say I create a special crossdev. I still get it in
3 > /usr/i686-pc-linux-gnu,
4 > which is very generic.
5 > Can't I have few compilers at a time?
6
7 Doh! Good point. I don't have an answer for that one.
8
9
10 > > As for distro creater, I use catalyst to build a stage4 and stage5.
11 ..
12 > I'll take a look on catalyst.
13 > Can you refer me to a good introduction/manual ?
14 > The gentoo page is not enough for me.
15
16 Sorry, I don't know of any manual besides the web page and the man
17 page. There are some examples in the package, I would suggest to just
18 try to use them, and see what happens and how it works.
19
20 Copy the example stage4.spec, edit, then run
21
22 catalyst -f stage4.spec
23
24 For embedded things I would seriously consider making a new profile.
25 It may also be neccessary to make a copy of /etc/catalyst/catalyst.conf
26 and specify that with -c, in order to have special environment
27 settings during the build. Some examples from my env file:
28
29 export INPUT_DEVICES="evdev keyboard mouse"
30 export VIDEO_CARDS="intel vesa"
31 export CAMERAS="ptp2"
32 export LINGUAS="en sv"
33 export SANE_BACKENDS="plustek"
34 export QEMU_SOFTMMU_TARGETS="i386"
35 export QEMU_USER_TARGETS="i386"
36
37
38 //Peter