Re: [gentoo-user] Compiling Gentoo for another platform

2003-07-02 Thread Alec Berryman
There are several how-to's in the "Documentation, Tips, & Tricks"
section of the forum.  To summarize: use distcc, or make a chroot on
your Athlon as if you were installing it on that computer but configure
it for your K6-2.

On Wed, 2003-07-02 at 18:33, Chris Gentle wrote:
> Hi.  I have an old K6-2 CPU that I would like to convert to a Gentoo
> machine.  It's pretty slow so I'd like to do all of the compiling on
> my Athlon.  Is there any documentation for doing this.  Can anyone
> point me in the right direction?


signature.asc
Description: This is a digitally signed message part


Re: [gentoo-user] Compiling Gentoo for another platform

2003-07-03 Thread Zachary P. Landau
> Hi.  I have an old K6-2 CPU that I would like to convert to a Gentoo
> machine.  It's pretty slow so I'd like to do all of the compiling on
> my Athlon.  Is there any documentation for doing this.  Can anyone
> point me in the right direction?

Your first option, of course, is distcc. That will allow distributed
compiling over a network. You can find a lot of information on that by
searching the gentoo mailing list and forums.

I may be wrong on this second option, but it seems to me that if you can
remove the harddrive, you could put it in the Athlon and compile
everything there. Make sure you compile with settings for the K6-2. When
you compile the kernel, make sure you are compiling with options for the
K6-2. Once everything is setup, put the harddrive back in the K6-2 and
then you can make little tweaks here and there if necessary.

If someone can spot a big flaw in this approach, please let us both know
:P

-- 
Zachary P. Landau <[EMAIL PROTECTED]>
GPG: gpg --recv-key 0x24E5AD99 | http://kapheine.hypa.net/kapheine.asc


pgp0.pgp
Description: PGP signature


Re: [gentoo-user] Compiling Gentoo for another platform

2003-07-03 Thread Johan Van den Neste
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thursday 03 July 2003 13:30, Zachary P. Landau wrote:
> > Hi.  I have an old K6-2 CPU that I would like to convert to a Gentoo
> > machine.  It's pretty slow so I'd like to do all of the compiling on
> > my Athlon.  Is there any documentation for doing this.  Can anyone
> > point me in the right direction?
>
> Your first option, of course, is distcc. That will allow distributed
> compiling over a network. You can find a lot of information on that by
> searching the gentoo mailing list and forums.

I'd go with distcc. It's easy to set up and well documented for gentoo.
Plus, you have the computing power of both your pc's with only a tiny bit of 
overhead from distcc, so you'll definitely gain speed.

However, I have noticed that certain large packages are not as useful for 
compiling with distcc as they do not allow compiles to be parallelized (I 
believe xfree and kde are such packages, although I could be wrong). Just 
make sure you put your Athlon first in your DISTCC_HOSTS.

- -- 

nessie

GnuPG key at http://studwww.ugent.be/~jvdneste/key.asc
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/BBymLuLJs56ENfYRAoJmAJ9RJaBasylJQv6/XguEWsHcb09dYwCeJzOt
NRcVruyTbkjL8NzagbT7uUY=
=ZLJW
-END PGP SIGNATURE-


--
[EMAIL PROTECTED] mailing list



RE: [gentoo-user] Compiling Gentoo for another platform

2003-07-03 Thread Bjorn Sodergren
You could also change the flags in your make.conf to your k6-2 (on yer
faster box), change the packages directory to like, /opt/k62-packages, and
then emerge everything with -B.

This will create bz2's of all packages for your k6 in /package-dir/All 

Copy those files onto a CD or mount them NFS or via FTP.

Start the install on yer K6-2 box and then copy the prebuild packages to
there and use emerge -k and have at it.


But the distcc thing looks easier

> -Original Message-
> From: Zachary P. Landau [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, July 03, 2003 6:30 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [gentoo-user] Compiling Gentoo for another platform
> 
> 
> > Hi.  I have an old K6-2 CPU that I would like to convert to 
> a Gentoo 
> > machine.  It's pretty slow so I'd like to do all of the 
> compiling on 
> > my Athlon.  Is there any documentation for doing this.  Can anyone 
> > point me in the right direction?
> 
> Your first option, of course, is distcc. That will allow 
> distributed compiling over a network. You can find a lot of 
> information on that by searching the gentoo mailing list and forums.
> 
> I may be wrong on this second option, but it seems to me that 
> if you can remove the harddrive, you could put it in the 
> Athlon and compile everything there. Make sure you compile 
> with settings for the K6-2. When you compile the kernel, make 
> sure you are compiling with options for the K6-2. Once 
> everything is setup, put the harddrive back in the K6-2 and 
> then you can make little tweaks here and there if necessary.
> 
> If someone can spot a big flaw in this approach, please let 
> us both know :P
> 
> -- 
> Zachary P. Landau <[EMAIL PROTECTED]>
> GPG: gpg --recv-key 0x24E5AD99 | http://kapheine.hypa.net/kapheine.asc
> 


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Compiling Gentoo for another platform

2003-07-03 Thread Alec Berryman
On Thu, 2003-07-03 at 07:08, Johan Van den Neste wrote:
> However, I have noticed that certain large packages are not as useful for 
> compiling with distcc as they do not allow compiles to be parallelized (I 
> believe xfree and kde are such packages, although I could be wrong). Just 
> make sure you put your Athlon first in your DISTCC_HOSTS.

Mozilla is another killer one.  Definitly do the Athlon first in your
DISTCC_HOSTS.


signature.asc
Description: This is a digitally signed message part