Forums

Skip to content

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

Compiling on one computer, installing/running on another

Still need help with Gentoo, and your question doesn't fit in the above forums? Here is your last bastion of hope.
Post Reply
Advanced search
4 posts • Page 1 of 1
Author
Message
st589
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 83
Joined: Sat Sep 20, 2003 8:12 pm

Compiling on one computer, installing/running on another

  • Quote

Post by st589 » Mon Nov 10, 2003 11:25 pm

Would this be possible to do? I assume it would be as long as your CFLAGS aren't set to your processor. Can a P4 compile specifically for a AMD-K6 II? Or would it just need a generic x86 compilation?

I'd like to be able to do this because my computer is much faster than the one I need to install a few programs on.
Top
PowerFactor
Veteran
Veteran
User avatar
Posts: 1693
Joined: Thu Jan 30, 2003 7:45 pm
Location: out of it

  • Quote

Post by PowerFactor » Tue Nov 11, 2003 1:54 am

You should look into using distcc. It's not very difficult to set up. Then you can put some or (almost)all of the load on the faster machine. And it doesn't matter what the cflags are on the fast machine, the compiler options get set for the machine doing the emerge. But yes you can compile optimized binaries for any x86 cpu on any other, as long as the compile process doesn't require running anything that you compiled. I other words configure scripts would be a problem. I'm not sure if k6-2 optimized binaries will run on a p4 or not. I know they will run on any later amd cpu but I suspect a p4 would give you problems. But you could use i586+mmx optimization. That would run on either cpu fine. But you wouldn't be taking advantage of the k6-2's full capabilities.
Top
st589
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 83
Joined: Sat Sep 20, 2003 8:12 pm

  • Quote

Post by st589 » Tue Nov 11, 2003 2:13 am

Thanks, I'll look into distcc.
Top
curtis119
Bodhisattva
Bodhisattva
User avatar
Posts: 2160
Joined: Mon Mar 10, 2003 4:41 pm
Location: Toledo, Ohio,USA, North America, Earth, SOL System, Milky Way, The Universe, The Cosmos, and Beyond.

  • Quote

Post by curtis119 » Tue Nov 11, 2003 3:32 am

I second Distcc. Great way to compile on slow machines. The more boxes you throw in the faster it gets. I have 7 computers in my house and I use them all when I compile. Open Office only takes about an hour or so this way as oppsed to the 11 or so it takes my pentium 4 to do on its own.

You can also use the Gentoo reference packages which are superb. They are the way to go if you have a slow connection, slow computer or just want to install fast like an RPM distro. The instructions are included in the installation documents.
Gentoo: it's like wiping your ass with silk.
Top
Post Reply

4 posts • Page 1 of 1

Return to “Other Things 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