Gentoo Archives: gentoo-embedded

From: Kfir Lavi <lavi.kfir@×××××.com>
To: gentoo-embedded@l.g.o
Subject: [gentoo-embedded] How to manage multiple distributions, cross compilers in one chroot environment
Date: Thu, 06 Jan 2011 10:11:07
Message-Id: AANLkTikEpo04V9Woz29ziOnas9xStRf7VSPtJEa89V=j@mail.gmail.com
1 Hi,
2 Continueing the discussion started by my last thread "CBUILD= HOSTCC=-gcc",
3 I said I want to compile a cross compiler with a special name.
4 I wanted i686-gentoo.edge-linux-gnu but it is possible to do just
5 i686-pc-linux-gnu
6
7 I did this because crossdev creates some magic setting up things, and it is
8 very handy.
9 What I want is a way to keep few compilers environments.
10 lets say:
11 stable x86 compiler
12 unstable x86 compiler
13 few arm cross compilers.
14
15 So when I create a distribution and an few month time I want the same
16 exactly environment,
17 to compile and upgrade few packages and be sure not to break anything, I
18 want to keep
19 those version of the compilers.
20
21 I'll also need some way to have few forks of my initial system.
22 lets say:
23 emebedded board 1 - for customer A
24 emebedded board 1 - for customer B (it is different than A, by time of
25 creation and so by version of the compiler used).
26 emebedded board 2 - for customer C
27
28 Can we boost up crossdev, or I need to start hacking a distro_creator
29 utility for gentoo?
30
31 Regards,
32 Kfir

Replies