Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
using emerge in a cross-compilation setup?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures
View previous topic :: View next topic  
Author Message
darkeye
Tux's lil' helper
Tux's lil' helper


Joined: 02 Mar 2004
Posts: 105

PostPosted: Wed Apr 28, 2004 11:15 am    Post subject: using emerge in a cross-compilation setup? Reply with quote

I wonder if it's possible to use emerge in a cross-compilation setup. say, I'd have a cross-compiler built with crossdev:

Code:
crossdev --arch=target


then I could start to build a system using the corssdev toolchain and emerge, something like:

Code:
ROOT=/opt/crossroot emerge foo-bar


where /opt/crossroot would contain the target filesystem, at first with the crosstool-chain and some files needed by emerge (e.g. etc/make.conf, etc.)

has anyone tried this? build a whole system using cross-compilation?
Back to top
View user's profile Send private message
bahkyp
Tux's lil' helper
Tux's lil' helper


Joined: 19 Jul 2002
Posts: 86
Location: Sydney Australia

PostPosted: Tue May 18, 2004 2:03 am    Post subject: Reply with quote

Use distcc with 2 machines linked by networking and a lot of the problems go away. Yes you can do target arch flag when using distcc.

http://www.gentoo.org/doc/en/distcc.xml
and
http://distcc.samba.org/

Must get gentoo m68k working
_________________
I'm so small, I can fit under the door.
I was here yesterday, this is a recording.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures 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