[uClibc]Toolchain: powerpc target gives "no such instruction"
Pedro Sanchez
psanchez at nortelnetworks.com
Thu Nov 28 21:09:16 UTC 2002
Thank you!, That works!
But I also found another problem with the "powerpc" target. When the
Makefile is preparing the kernel headers it attempts to link the
directory "asm-powerpc" to "asm". It should be "asm-ppc" instead.
Basically, the same $ARCH variable shouldn't be used for both the GNU
software and the kernel, they are not necessarily the same.
Thank you again!
--
Pedro
On Thu, 2002-11-28 at 15:23, Ray L wrote:
> On Thu, Nov 28, 2002 at 01:20:35PM -0500, Pedro Sanchez wrote:
> > Hello,
> >
> > I'm trying to cross compile gcc 3.2 for a powerpc target on my host x86
> > machine. I'm using the latest tar ball from the uclibc CVS repository (I
> > got it using the CVSWeb interface). I only edited the Makefile to change
> > the target to "powerpc".
> >
> > Below you will find what I get when I run make. BTW, I tried the
> > toolchain for 3.2.1 and got the same results.
>
>
> same thing happens when generating an i386->arm cross. i added the following
> line to toolchain/gcc-3.2.1/Makefile
>
> TARGET_CROSS=arm-uclibc-
>
> something similar should probably work for your target.
>
>
> --
> ---------------------------------------------------------------------------
> Ray L <rayl at mail.com>
More information about the uClibc
mailing list