1 |
On Wed, Mar 18, 2015 at 09:56:12PM -0400, Walter Dnes wrote: |
2 |
> My situation... |
3 |
> |
4 |
> * I've dug up my ancient netbook, and got Gentoo re-installed on it |
5 |
> * The cpu is a dual-core Intel(R) Atom(TM) CPU Z520 |
6 |
> * It's 32-bit only; YES! |
7 |
> * Compiling just the Seamonkey binary (ignoring its dependancies) took |
8 |
> 14 hours |
9 |
> |
10 |
> I obviously want to offload compiling to another machine. As per the |
11 |
> subject, will a 64-bit no-multilb install be able to cross compile |
12 |
> 32-bit code? |
13 |
|
14 |
I recently did the first update after many months on my netbook, too. But I |
15 |
choose the chroot path; using another linux, I tar'ed off the root |
16 |
filesystem to an external disk and plugged that into my main rig. In there I |
17 |
used the power of my might i5-4590 to do the upgrades. That's just that much |
18 |
faster because many small packages use up minutes and minutes in the |
19 |
configure and install phase. Not to mention hours spent of depend*e*ncy |
20 |
calculations. |
21 |
|
22 |
To quickly switch between building locally and via distcc (or chroot in this |
23 |
case), I set up the usual march, CFLAGS, features, mirrors and such in |
24 |
make.conf and then below that source my .conf file for distcc or chroot |
25 |
which will override those settings. That way I only need to uncomment one |
26 |
line in make.conf and I'm good to go. |
27 |
|
28 |
Since there are different kinds of atoms, I also used the full range of |
29 |
-mno- flags as given by `gcc -v -Q -march=native -O2 test.c -o test` and |
30 |
because my Atom is 64 bit, but my userland 32, I manually added -m32 to |
31 |
those. It went through in only a few hours for 500 packages including KDE. |
32 |
|
33 |
The only problem I had was building the kernel. For some reason, I haven't |
34 |
quite achieved coolness there yet with building it on my big machine. |
35 |
-- |
36 |
Gruß | Greetings | Qapla’ |
37 |
Please do not share anything from, with or about me with any social network. |
38 |
|
39 |
Thinking is work, work is energy and you should conserve energy. |