Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Compiling software on one computer for install on another.
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
Garbz
Apprentice
Apprentice


Joined: 02 Jul 2003
Posts: 260
Location: Brisbane, Australia

PostPosted: Tue Jul 29, 2003 5:00 am    Post subject: Compiling software on one computer for install on another. Reply with quote

Hey all

I got 2 computers at home, a 3ghz p4 and an p3 667 laptop. Naturally any attempt to emerge openoffice has resulted in complete frustration on my laptop. Not to mention that it locks up during compile finished only with:
# 1"" and no error.

I remember reading somewhere what i'm about to ask but i haven't been able to find it since.

Is it possible to cross compile openoffice on my desktop computer (with corrected CFLAGS, and transfer the compiled openoffice file to my laptop to install.

If so how ?

Thanks.
_________________
Every begining is another begining's end.
Back to top
View user's profile Send private message
skunk
l33t
l33t


Joined: 28 May 2003
Posts: 646
Location: granada, spain

PostPosted: Tue Jul 29, 2003 6:30 am    Post subject: Reply with quote

emerge with --buildpkgonly on your desktop
and emerge with --usepkg the resulting package on your laptop
see "man emerge"
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Tue Jul 29, 2003 2:27 pm    Post subject: Reply with quote

--buildpkg will only work across two machines if the CPU is the same (other factors may be relevant too).

I've read responses to similar questsions pointing people to distcc, though I'm not sure how to use it. If I find a good thread, I'll add it to the FAQ.


Moved from Installing Gentoo.
Back to top
View user's profile Send private message
Garbz
Apprentice
Apprentice


Joined: 02 Jul 2003
Posts: 260
Location: Brisbane, Australia

PostPosted: Tue Jul 29, 2003 3:36 pm    Post subject: Reply with quote

same cpu ? does it matter that one's a p4 and the other's a p3? I've set my cflags from my lappy to my desktop already! that should be it right ?

I'll change the cflags back when i'm done.
_________________
Every begining is another begining's end.
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