This is the mail archive of the crossgcc@sourceware.cygnus.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more infromation.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Expert help required with building linux hosted crossGCC targeting MPC860


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]