Expert help required with building linux hosted crossGCC targeting MPC860

William Gatliff gatliff@haulpak.com
Sat Apr 1 00:00:00 GMT 2000


Daniel:

Daniel Zajc wrote:

> Then I built binutils-2.9.5.0.24:
>
> cd /usr/local/cross-gcc/src
> target=powerpc-eabi
> prefix=/usr/local/cross-gcc/target
> cd /usr/local/cross-gcc/build/binutils
> ../../src/binutils-2.9.5.0.24/configure --target=$target
> --prefix=$prefix -v
> make all install
>
> binutils built just fine.

Make sure that the destination directory is in your path.  If it isn't, then the
cross compiler build process won't be able to find the right asssembler.


> Following the advice of an article by Bill Gatliff on www.embedded.com I did
> this:

Oh, and by the way, ymmv.  :^)


> as: unrecognized option `-ppc'
> make[3]: *** [libgcc2.a] Error 1
> make[3]: Leaving directory `/usr/local/cross-gcc/build/gcc/gcc'
> make[2]: *** [stmp-multilib-sub] Error 2
> make[2]: Leaving directory `/usr/local/cross-gcc/build/gcc/gcc'
> make[1]: *** [stmp-multilib] Error 1
> make[1]: Leaving directory `/usr/local/cross-gcc/build/gcc/gcc'
> make: *** [cross] Error 2

Yup, this looks like the build process is finding the wrong assembler.

Hope this helps,


b.g.

--
William A. Gatliff
Senior Design Engineer
Komatsu Mining Systems
To teach is to learn.




------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com



More information about the crossgcc mailing list