Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Compile Gentoo for another PC
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Vortigern
Guru
Guru


Joined: 25 Nov 2005
Posts: 341
Location: Italy

PostPosted: Thu Jun 08, 2006 8:56 am    Post subject: [SOLVED] Compile Gentoo for another PC Reply with quote

Hi,
I was wondering about using Gentoo on a PIII 550MHz. This will take a huge amount of time to have a complete system, so I thought that I could compile Gentoo on my AMD 2500+ pushed to 3200 to save compilation time. Now, the question is, could this be possible by editing make.conf and just change the architecture type and then compile the kernel with the appropriate modules and CPU type (I mean for the other PC obviusly)?
May I also compile gdm for that PC before leaving the live CD, to have a complete installation to use for the other PC?
Thanks in advance.


Last edited by Vortigern on Sat Jun 10, 2006 9:24 am; edited 1 time in total
Back to top
View user's profile Send private message
TheRAt
Veteran
Veteran


Joined: 03 Jun 2002
Posts: 1580

PostPosted: Thu Jun 08, 2006 9:55 am    Post subject: Reply with quote

There is a HOWTO Compile on another computer at the Gentoo Wiki
There is also a mini-HOWTO: Installing Gentoo on slow machines in the Forums..
You might try a search on cross compile
_________________
All reality is the construct of the observer.

Get Firefox and rediscover the web!

BOFH Excuse #295:
The Token fell out of the ring. Call us when you find it.
Back to top
View user's profile Send private message
Vortigern
Guru
Guru


Joined: 25 Nov 2005
Posts: 341
Location: Italy

PostPosted: Thu Jun 08, 2006 11:00 am    Post subject: Reply with quote

Thanks, probably the distcc will work.
But I would like also to know if using PC of same architecture, for example my PIII and my Atholon XP are both x86, will let me to compile Gentoo uo my best PC, then took the HD to the slowest without having problem.
Thank you.
Back to top
View user's profile Send private message
TheRAt
Veteran
Veteran


Joined: 03 Jun 2002
Posts: 1580

PostPosted: Thu Jun 08, 2006 11:10 am    Post subject: Reply with quote

I do not think that would be a problem as long as you kept your optimizations to x86, and did not get into Athlon-XP specific..
However, personally I would use the chroot method if you were moving drives.. that way you have a fully working gentoo to build a new one..
_________________
All reality is the construct of the observer.

Get Firefox and rediscover the web!

BOFH Excuse #295:
The Token fell out of the ring. Call us when you find it.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54216
Location: 56N 3W

PostPosted: Thu Jun 08, 2006 11:36 am    Post subject: Reply with quote

Vortigern,

Thats perfectly possible provided you do the chroot and set up everything in /etc/make.conf for the target CPU.

If you use nfs, you can export the root filesystem from the target system to the host, so everything happens over the network. no movement of hard drives required.

With a little thought, /usr/portage can be shared too, so you use your existing portage tree and source doce you have already downloaded.
If you attempt that, be careful not to share the binary packages directory, if you use one.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Vortigern
Guru
Guru


Joined: 25 Nov 2005
Posts: 341
Location: Italy

PostPosted: Sat Jun 10, 2006 9:24 am    Post subject: Reply with quote

Hi,
thanks for your answers. I hope that it would be possible. It is not a problem for me move an HD, but it is also helpfull use the net.
This post can be considered as solved.
Thank you!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum