Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
distcc and many gcc
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Uzytkownik
Guru
Guru


Joined: 31 Oct 2004
Posts: 399
Location: Bay Area, US

PostPosted: Thu Jun 22, 2006 10:13 pm    Post subject: distcc and many gcc Reply with quote

I have 2 computers:
- router (slower, Gentoo Hardened, gcc 3.4 hardened)
- desktop (faster, Gentoo + BMG, gcc 4.1, 3.4)

Is it possible to set distcc for router to use desktop?
What where should I set?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Thu Jun 22, 2006 10:23 pm    Post subject: Reply with quote

Uzytkownik,

As it stands now - no. All the contrubuting nodes must gave the same version of gcc installed.
Thats the first thing to fix. Then distcc should work with no special effort, since the preprocessor is always run on the host.
Helpers get told exactly what to do. All the flags are sent with the code to be compiled.
_________________
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
Uzytkownik
Guru
Guru


Joined: 31 Oct 2004
Posts: 399
Location: Bay Area, US

PostPosted: Thu Jun 22, 2006 10:30 pm    Post subject: Reply with quote

NeddySeagoon wrote:
Uzytkownik,

As it stands now - no. All the contrubuting nodes must gave the same version of gcc installed.
Thats the first thing to fix. Then distcc should work with no special effort, since the preprocessor is always run on the host.
Helpers get told exactly what to do. All the flags are sent with the code to be compiled.


I didn't know "run on the same version of gcc" means have the same version or use the same version.
Now I know.

Thank you
Back to top
View user's profile Send private message
ScriptBlue
n00b
n00b


Joined: 27 Jul 2005
Posts: 21
Location: New York City, New York, US

PostPosted: Thu Jun 22, 2006 11:46 pm    Post subject: Reply with quote

Wouldn't there also be a problem because one of the compilers is using the hardened profile and the other isn't?
I think you might end up with having only half of your source code secured.
Back to top
View user's profile Send private message
Uzytkownik
Guru
Guru


Joined: 31 Oct 2004
Posts: 399
Location: Bay Area, US

PostPosted: Fri Jun 23, 2006 7:05 am    Post subject: Reply with quote

ScriptBlue wrote:
Wouldn't there also be a problem because one of the compilers is using the hardened profile and the other isn't?
I think you might end up with having only half of your source code secured.


If compiler could be chosen for each host, there wouldn't be any problem...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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