Re: 2.5.62: Cross-building broken

From: Geert Uytterhoeven (geert@linux-m68k.org)
Date: Tue Feb 18 2003 - 11:40:06 EST


On Tue, 18 Feb 2003, John Bradford wrote:
> > Cross-building ARM from HPPA:
> >
> > $ make config CROSS_COMPILE=/home/rmk/bin/arm-linux- ARCH=arm
> > make: Entering directory `/home/rmk/v2.5/linux-rpc'
> > make -f scripts/Makefile.build obj=scripts
> > gcc -Wp,-MD,scripts/.empty.o.d -D__KERNEL__ -Iinclude -Wall
> > -Wstrict-prototypes -Wno-trigraphs -Os -fno-strict-aliasing -fno-common
> > -mshort-load-bytes -msoft-float -Wa,-mno-fpu -Uarm -nostdinc -iwithprefix
> > include -DKBUILD_BASENAME=empty -DKBUILD_MODNAME=empty -c -o
> > scripts/empty.o scripts/empty.c
> > make: Leaving directory `/home/rmk/v2.5/linux-rpc'
> > cc1: Invalid option `short-load-bytes'
> > make[1]: *** [scripts/empty.o] Error 1
> > make: *** [scripts] Error 2
> >
> > We seem to be using the wrong compiler here, or the wrong CFLAGS.
>
> Hmmm, cross compiling for Sparc works:

And for m68k works, too.

Gr{oetje,eeting}s,

                                                Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Feb 23 2003 - 22:00:22 EST