[fedora-arm] ppl cross compile

Paulo César Pereira de Andrade paulo.cesar.pereira.de.andrade at gmail.com
Fri Aug 19 15:11:56 UTC 2011


2011/8/19  <webwillow at thewebwillow.com>:
> already using it and made adjustments for armv5tel and soft float.
>
> when i get to the ppl part of the script i get the failure...you scripts
> have got me this far with only tiny adjustments needed
>
> i than try to reproduce the exact same thing manually and adjust from
> there..
>
> although i did notice the prefix of /usr instead of $PREFIX...ill redo
> gmp/mpfr/ppl again tonight and see if that makes it through.
>
> sometimes you make those little mistakes when frustrated and just plain
> tired in the middle of the night.

  In the branch I made to DJ Delorie scripts to test Mandriva bootstraps,
I did a change to ppl build, and the pseudo patch for stage1 is:

-%<-
-    gmp | mpfr | ppl )
+    gmp | mpfr )
        L=$1
        srpm $L
        mcd $BUILDDIR/t-$L
@@ -507,6 +525,16 @@ case "$1" in
        fix_la $L
        ;;

+    ppl )
+       L=$1
+       srpm $L
+       mcd $BUILDDIR/t-$L
+       $SRC/${L}-*/configure $TCONFIGARGS --with-gmp-prefix=${ROOTFS}/usr
+       make $J
+       make $J install DESTDIR=${ROOTFS}
+       fix_la $L
+       ;;
-%<-

  I think this is a quirk required for ppl-0.11 bootstrap.

> ../../rpmbuild/BUILD/ppl-0.11.2/configure --prefix=/usr
> --build=i686-redhat-linux --host=arm-unknown-linux-gnueabi
> --with-float=softfp --with-abi=aapcs-linux
> --with-sysroot=/home/mockbuild/stage2/rootfs --enable-threads=posix
> --disable-libssp --enable-cxx=yes --enable-werror=no
>
>
> -------- Original Message --------
> Subject: Re: [fedora-arm] ppl cross compile
> From: DJ Delorie <dj at redhat.com>
> Date: Thu, August 18, 2011 9:02 pm
> To: <webwillow at thewebwillow.com>
> Cc: arm at lists.fedoraproject.org
>
>
> Try my bootstrap scripts at:
>
> http://djdelorie.fedorapeople.org/

Paulo


More information about the arm mailing list