View previous topic :: View next topic |
Author |
Message |
PollO n00b
Joined: 09 Jun 2002 Posts: 36 Location: Valencia Spain
|
Posted: Tue Aug 26, 2003 10:57 pm Post subject: Cross compilation |
|
|
Hi:
I have an old sparc station 5. I want install gentoo but i think that compilation in these machine es more slowly, I wan to do these compilation in a x86 system. Anyone knows if i can do a cross compilation of gentoo ? If I can how or what I need ?
Thanks. _________________ Besa mi reluciente culo metalico (Bender) |
|
Back to top |
|
|
DuDe Guru
Joined: 04 Dec 2002 Posts: 314 Location: Roma Italy
|
Posted: Mon Sep 15, 2003 4:56 pm Post subject: |
|
|
Hi, i never try this but i think you have to build a complete toolchain on your x86-machine, this can be do via dan-kegel toolchain scripts, you can found on http://www.kegel.com/crosstool after build successfully a complete toolchain, you can use distccd to compile package, for my mind it's the only way to cross.build you sparc system.
Keep in mind when you are configuring cross-tools, you must use the exactly version of cross-tools like real tools
For example, if you have in live cd for sparc binutils-2.14 you must use the same version o cross-tools, the same thing with gcc and glibc
I hope the my message is clear, i'm not english
Bye and good luck _________________ mount -t brain /dev/brain /body/skull |
|
Back to top |
|
|
PollO n00b
Joined: 09 Jun 2002 Posts: 36 Location: Valencia Spain
|
Posted: Wed Sep 17, 2003 1:32 pm Post subject: |
|
|
Thx . _________________ Besa mi reluciente culo metalico (Bender) |
|
Back to top |
|
|
bazik Retired Dev
Joined: 22 Jul 2002 Posts: 277 Location: Behind you.
|
Posted: Wed Sep 17, 2003 4:43 pm Post subject: |
|
|
JFYI, I am currently working on a cross compiler suite which lets you create binary packages for sparc on a x86 sytem via portage If all goes fine I have something working by the end of the week |
|
Back to top |
|
|
DuDe Guru
Joined: 04 Dec 2002 Posts: 314 Location: Roma Italy
|
Posted: Mon Sep 22, 2003 11:53 am Post subject: |
|
|
Can you tell me info about it? i gave one sparc classic in my house, and i can try you way of cross-compilation.
With the script mentioned in my post i never have trouble to build a complete toolchain _________________ mount -t brain /dev/brain /body/skull |
|
Back to top |
|
|
bazik Retired Dev
Joined: 22 Jul 2002 Posts: 277 Location: Behind you.
|
Posted: Mon Sep 22, 2003 1:44 pm Post subject: |
|
|
Right now its nothing stable. I had to hack gcc-config and broke the normal gcc
I'll have to put some more time into this and look a bit more at the portage build process... |
|
Back to top |
|
|
|