Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
DistCC on MIPS & Cross compillers
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
Redhatter
Retired Dev
Retired Dev


Joined: 20 Sep 2003
Posts: 548
Location: Brisbane, QLD, Australia

PostPosted: Thu Jul 01, 2004 12:39 am    Post subject: DistCC on MIPS & Cross compillers Reply with quote

Hi,
One idea hit me recently.... I have sitting here an SGI Indy (which has been doing an emerge -UD world for a couple of days now, up to package 24 of 48) and a Gateway Microserver.

To use distcc between them, would a simple kernel cross compiller do the trick? Or do I need to coax crossdev into producing the whole kit?

I managed to get qube (microserver) to do a mipsel->mips cross compiller (kernel only, no glibc), and I hope to get the corresponding cross compiler going on indy. Do I need to muck around with glibc to use distcc between these boxes?
_________________
Stuart Longland (a.k.a Redhatter, VK4MSL)
I haven't lost my mind - it's backed up on a tape somewhere...

Gentoo/MIPS Cobalt developer, Mozilla herd member.
Back to top
View user's profile Send private message
Kumba
Developer
Developer


Joined: 16 Jul 2002
Posts: 383
Location: Sigma 957

PostPosted: Fri Jul 02, 2004 5:39 am    Post subject: Reply with quote

Hrmm, well, in most cases, you only need the kernel compiler, because distcc only does object compiling on the remote distcc system. No linking is involved, so glibc is never needed (all linking is done on the original system). The problem is if you need g++ to compile c++ programs. In order for distcc to properly distribute c++ source files, the remote system will need g++, and this requires glibc. An unfortunate requirement, but eh, welcome to the dark, arcane world of cross-compilers.

I'm finally merging some long overdue patches into crossdev and hope to post a 0.5 version in time that may help kill off some bugs (and introduce some new ones, as is usually the case).


--Kumba
_________________
"The past tempts us, the present confuses us, the future frightens us. And our lives slip away, moment by moment, lost in that vast, terrible in-between."
--Emperor Turhan, Centauri Republic
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