Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Anyone tried distcc with sparc and another architecture?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc
View previous topic :: View next topic  
Author Message
paranode
l33t
l33t


Joined: 06 Mar 2003
Posts: 679
Location: Texas

PostPosted: Tue Apr 15, 2003 10:01 pm    Post subject: Anyone tried distcc with sparc and another architecture? Reply with quote

I was thinking I'd install distcc on my SPARCstation 5 to cross-compile stuff with some Pentium 3 and 4 machines around here. Has anyone ever setup a similar scenario and succeeded or failed? I'm thinking it should be possible with the same version of gcc but I might have to emerge some sparc-specific tools on the Pentium machines first. Any comments welcome, thanks!
_________________
Meh.
Back to top
View user's profile Send private message
Strubenator
n00b
n00b


Joined: 17 Mar 2003
Posts: 19
Location: Frederick, MD

PostPosted: Tue Apr 15, 2003 11:11 pm    Post subject: Reply with quote

Your not going to be able to compile any kindof sparc binaries from an intel machine, unless you are using a cross-compiler. To answer you next inevidable question, I do not know of any intel/sparc cross-compilers. I'm fairly certain that such a program would be impossible .... (Compiler wizards chime in here if I'm wrong)

--Strube
Back to top
View user's profile Send private message
Aiken
Apprentice
Apprentice


Joined: 22 Jan 2003
Posts: 239
Location: Toowoomba/Australia

PostPosted: Wed Apr 16, 2003 1:16 am    Post subject: Reply with quote

It should work quite nicely for you. I have made notes from a couple of packages I have compiled this way. http://cvs.gentoo.org/~aiken/distcc_cross_compiling.html

The ebuilds for building cross compilers are still a work in progress. Some information on what I have been playing with is at http://cvs.gentoo.org/~aiken/gentoo-cross/

For the cross compiling tool chains I would suggest using the same versions of binutils, glibc and gcc as the machine they are compiling for. I have had best rest results this way. I have also had good results building a cross tool chain that runs under cygwin so the remote machine can stay running windows if need be.
Back to top
View user's profile Send private message
paranode
l33t
l33t


Joined: 06 Mar 2003
Posts: 679
Location: Texas

PostPosted: Wed Apr 16, 2003 2:05 pm    Post subject: Reply with quote

Good to hear that this is possible, I'll try and set it up once my machine is up (if ever :) ). Thanks.
_________________
Meh.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc 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