[icedtea zero] enable 32bit builds for powerpc

Christian Thalinger twisti at complang.tuwien.ac.at
Mon Jul 21 00:37:37 PDT 2008


On Sun, 2008-07-20 at 17:01 +0200, Matthias Klose wrote:
> this may be dropped during the cacao/zero updates; currently all zero builds on
> powerpc are done using the 64bit toolchain, not th 32bit toolchain. Adding the
> powerpc configury. I can't test a 64bit powerpc build.
> 
>   Matthias
> 
> 2008-07-20  Matthias Klose  <doko at ubuntu.com>
> 
>         * acinclude.m4 (SET_ARCH_DIRS): Add powerpc and powerpc64 configs.
> plain text document attachment (ppc.diff)
> diff -r 2f1e7255ab4d acinclude.m4
> --- a/acinclude.m4	Wed Jul 16 10:10:45 2008 -0400
> +++ b/acinclude.m4	Sun Jul 20 17:04:30 2008 +0200
> @@ -16,6 +16,16 @@ AC_DEFUN([SET_ARCH_DIRS],
>        INSTALL_ARCH_DIR=arm
>        JRE_ARCH_DIR=arm
>        ;;
> +    powerpc-*-*)
> +      BUILD_ARCH_DIR=ppc
> +      INSTALL_ARCH_DIR=ppc
> +      JRE_ARCH_DIR=ppc
> +       ;;
> +    powerpc64-*-*)
> +      BUILD_ARCH_DIR=ppc64
> +      INSTALL_ARCH_DIR=ppc64
> +      JRE_ARCH_DIR=ppc64
> +       ;;
>      sparc64-*-*)
>        BUILD_ARCH_DIR=sparcv9
>        INSTALL_ARCH_DIR=sparcv9

Hmm, I don't understand why we need this one.  The default case uses
`uname -m` and this should be "ppc" on 32-bit, no?

- twisti




More information about the distro-pkg-dev mailing list