Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
cross-platform compile
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
guzik
n00b
n00b


Joined: 17 Aug 2003
Posts: 64

PostPosted: Mon Oct 13, 2003 12:45 am    Post subject: cross-platform compile Reply with quote

I was just curious if it is possible to cross-platform compile packages. I know that it is possible for example to compile all of the necessary gentoo packages ahead of time and just tar-balling them, however is it possible to compile on an x86 machine xfree for a sun box for example?

sorry for the crazy question ahead of time :), heehee
Back to top
View user's profile Send private message
meowsqueak
Veteran
Veteran


Joined: 26 Aug 2003
Posts: 1549
Location: New Zealand

PostPosted: Mon Oct 13, 2003 8:08 am    Post subject: Reply with quote

Yes, it is possible, but it's not easy and it's not trivial. Don't let me put you off - it's not magic or anything - but it can be quite time consuming at first, until you understand how everything fits together.

I heard a good idea on these forums a little while ago - get a basic Gentoo working on your target platform, and then use distcc and a cross compiler to build your applications. That way, even if your target is quite slow, you can build X, KDE, whatever, much faster.

Do a search on forums.gentoo.org for 'cross compile' and a few others - I think you'll find a lot of info.

http://forums.gentoo.org/viewtopic.php?t=29985
http://forums.gentoo.org/viewtopic.php?t=46297
http://forums.gentoo.org/viewtopic.php?t=78361
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