Mailinglist Archive: opensuse-packaging (49 mails)
| < Previous | Next > |
Re: [opensuse-packaging] icecream cross compile
- From: Michael Matz <matz@xxxxxxx>
- Date: Mon, 25 Jun 2007 19:00:06 +0200 (CEST)
- Message-id: <Pine.LNX.4.64.0706251848170.26547@xxxxxxxxxxxxx>
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@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx
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@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx
| < Previous | Next > |