Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Installing Gentoo
  • Search

distcc question [solved/answered]

Having problems with the Gentoo Handbook? If you're still working your way through it, or just need some info before you start your install, this is the place. All other questions go elsewhere.
Post Reply
Advanced search
4 posts • Page 1 of 1
Author
Message
slycordinator
Advocate
Advocate
User avatar
Posts: 3065
Joined: Sat Jan 31, 2004 9:51 pm
Location: Korea

distcc question [solved/answered]

  • Quote

Post by slycordinator » Sat May 14, 2005 2:35 am

I'm installing gentoo on an old Pentium MMX to be my LAN's print server. Since the thing is so goddamn slow at compiling I looked into using distcc and let some of the load go to my gentoo box that's running on an athlon xp. So to do this I've got distccd running on the athlon xp box.

http://www.gentoo.org/doc/en/distcc.xml says:
Recent Portage updates have made Portage use ${CHOST}-gcc instead of gcc. This means that if you're mixing i686 machines with other types (i386, i586) you will run into problems. A workaround for this may be to export CC='gcc' CXX='c++' or to put it in /etc/make.conf, but that needs testing. If it works for you please email me, Lisa Seelye.
My question is:
Does this need to be done on the server (the one running the daemon), the client (the old box), or both?
Last edited by slycordinator on Sat May 14, 2005 5:23 pm, edited 1 time in total.
Top
klavrynd
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 98
Joined: Thu Jul 29, 2004 9:53 pm
Contact:
Contact klavrynd
Website

  • Quote

Post by klavrynd » Sat May 14, 2005 10:17 am

afaik on the old box. Instead of using ${CHOST}-gcc it should be using /var/lib/distcc/bin which distributes the compiling across your other boxes
Top
slycordinator
Advocate
Advocate
User avatar
Posts: 3065
Joined: Sat Jan 31, 2004 9:51 pm
Location: Korea

  • Quote

Post by slycordinator » Sat May 14, 2005 5:23 pm

Yeah I figured that out earlier; though it doesn't matter as I'm doing a complete install on the old box so it doesn't have the same gcc version as the new one.

And even if I set it to use CC="gcc" the version is different between the 2 boxes and that'll make problems.
Top
Kazaza
Tux's lil' helper
Tux's lil' helper
Posts: 100
Joined: Sun Mar 28, 2004 3:22 am
Location: Sweden
Contact:
Contact Kazaza
Website

  • Quote

Post by Kazaza » Sat May 14, 2005 9:11 pm

If the gcc-versions differs, you can always upgrade the version of gcc used for bootstrapping.... and maybe still be able to use distcc... (im doing such a install right now on a k6 laptop....)
check this thread out, and you get the idea of how to get it done...
http://forums.gentoo.org/viewtopic-t-26 ... thlon.html
Top
Post Reply

4 posts • Page 1 of 1

Return to “Installing Gentoo”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic