[opensuse-packaging] icecream cross compile
Hello, I was compiling Packman packages for PowerPC for more than a year. Then my PPC machine broke and my first son was born, so I did not have a machine or time to do it. Now I have a bit more time and a strong X86 machine, so I would like to resume this activity. I looked at http://en.opensuse.org/Icecream and compiling on machines of the same architecture works fine. I have now a small cluster of embedded PPC machines :-) Of course, the ultimate goal would be to use the X86 monster to compile PPC packages. My problem is, that it's not clear from the above mentioned documentation, that which cross-xxx-icecream packages should I install on X86 and PPC and how I should parameter ICECC_VERSION. Bye, CzP --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
Hi, On Mon, 25 Jun 2007, Peter Czanik wrote:
I looked at http://en.opensuse.org/Icecream and compiling on machines of the same architecture works fine. I have now a small cluster of embedded PPC machines :-)
Of course, the ultimate goal would be to use the X86 monster to compile PPC packages.
A noble goal :-)
My problem is, that it's not clear from the above mentioned documentation, that which cross-xxx-icecream packages should I install on X86 and PPC and how I should parameter ICECC_VERSION.
You start the compiles on the ppc hosts, and you need tarballs containing a cross compiler which runs on i386 and produces ppc code. Stuff running on an architecture is placed in the install tree of that architecture. Hence you need the cross-ppc-gcc-icecream-backend-*.i586.rpm from the i586 tree. This rpm basically only contains a tarball which you need to have on the ppc machine starting the builds. As it is for the i586 architecture you can't install it on those ppc hosts easily, so I would simply just unpack it by hand or install it on a i586 machine, and copy over the tarball therein to the ppc machine. Anyway, somewhen you'll have the tarball cross-ppc-gcc-icecream-backend_i386.tar.gz on your ppc machine somewhere (in addition to the tarball of your native compiler). Then you'll want to use something like this environment variable: ICECC_VERSION=native.tar.gz,i386:/path/to/cross-ppc-gcc-icecream-backend_i386.tar.gz I.e. ICECC_VERSION really is a set of entries separated by ",", where all cross compile entries are prefixed with the host architecture of the cross compiler plus ":". Ciao, Micha. --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
Hello, Michael Matz wrote:
Hence you need the cross-ppc-gcc-icecream-backend-*.i586.rpm from the i586 tree.
Thanks, this was not really clear from the doc. Actually these packages are not mentioned at all, but I found them on each architecture I tested. Now it works, and it sped up compilation a lot. Tomorrow I'll test it with the 'build' script, and if it works, I can start compiling Packman again. I guess, making up-to-date packages will keep me busy for a while :) Bye, CzP --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
Am Montag 25 Juni 2007 schrieb Peter Czanik:
Hello,
Michael Matz wrote:
Hence you need the cross-ppc-gcc-icecream-backend-*.i586.rpm from the i586 tree.
Thanks, this was not really clear from the doc. Actually these packages are not mentioned at all, but I found them on each architecture I tested. It's a wiki...
Greetings, Stephan -- SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
participants (3)
-
Michael Matz
-
Peter Czanik
-
Stephan Kulow