Hello,
I'm using build version 0.0_SVNr930M to compile Packman packages on PPC.
Now I started to use icecream to cross compile, as my PPC build machine
is a kind of weak, while I just got a strong x86 machine. This version
of build does not seem to have support for cross compile icecream, it
creates a package for the native compiler, sets up ICECC_VERSION, and
that's all.
I made a (very) ugly hack to get it to cross compile and reduce compile
times significantly, but that's really not the way it should be solved.
Is there anyone working on it, or is it fixed for a later version? I'm a
bit afraid to update to a later version just for testing, when I don't
have the rpm for this version... :)
Bye,
CzP

Ps: just for the record, I added this few lines to the end of
setupicecream() in /usr/lib/build/build:
"
    echo icecream cross compile preparation
    cp /root/build_icecream.sh "$BUILD_ROOT"/etc/profile.d/build_icecream.sh

    if [ ! -f
"$BUILD_ROOT"/opt/icecream/bin/powerpc-unknown-linux-gnu-c++ ] ; then
      for i in powerpc-unknown-linux-gnu-c++
powerpc-unknown-linux-gnu-cc powerpc-unknown-linux-gnu-g++ powerpc-unkno
wn-linux-gcc ; do
        ln -s /usr/bin/icecc "$BUILD_ROOT"/opt/icecream/bin/$i
      done
    fi

    cp /root/cross-ppc-gcc-icecream-backend_i386.tar.gz
/root/native.tar.gz "$BUILD_ROOT"
"

Content of /root/build_icecream.sh is:
"
export PATH=/opt/icecream/bin:$PATH
export
ICECC_VERSION="/native.tar.gz,i686:/cross-ppc-gcc-icecream-backend_i386.tar.gz"
"

The links are there, as sometimes I found, that configure looks for
these, and it helped a lot at least on Gentoo.

cross-ppc-gcc-icecream-backend_i386.tar.gz is from a SuSE rpm,
native.tar.gz is the one generated by /usr/lib/icecc/icecc-create-env
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to