"powerpc-elf-ar : not found" and "libgcc2.a" problem (target 'mak e all' or 'make all-gcc')
Goran Chutura
ngcutura@yahoo.com
Sun Oct 14 03:21:00 GMT 2001
Hi,
I had something similar building m68k-coff. Try
putting $prefix/bin at the end of your PATH variable.
$prompt> PATH=$PATH:$prefix/bin ; export PATH
Regards,
NGC
--- "Bertin, Philippe" <philippe.bertin@barco.com>
wrote:
> Hello,
>
> I'm making a cross-compiler on Solaris 2.6 for
> target PowerPC. I made my
> configuration file with
> ./configure --target=powerpc-elf
> --prefix=/data/users/phbe/cross/executable
>
> My binutils (2.11) installed properly. For gcc
> (version 2.95.2), I've had to
> add a patch because an include file wasn't found.
> After applying that patch,
> I encounter another problem (which is unrelated to
> the first one, I think, I
> hope). After struggling for a day now, I'd like to
> know if anyone has a
> further clue on what could be wrong here. First (see
> error output), he gives
> a lot of warnings that he doesn't find
> "powerpc-elf-ar", and then, further
> on, make dies on the mv tmplibgcc2.a (see error
> output) ... An excerpt of
> the last stdout- output lines before make dies
> follows right here after.
>
> Thanks to whomever could give me a clue ...
>
> Regards,
>
> Philippe Bertin
> Development Engineer Software Avionics
> BarcoView.
>
>
> stdout output :
> ---------------
>
> make[4]: Leaving directory
> `/data/users/phbe/cross/gcc-2.95.2/gcc'
> make[4]: Entering directory
> `/data/users/phbe/cross/gcc-2.95.2/gcc'
> /data/users/phbe/cross/gcc-2.95.2/gcc/xgcc
> -B/data/users/phbe/cross/gcc-2.95.2/gcc/
> -B/data/users/phbe/cross/executable/powerpc-elf/bin/
>
-I/data/users/phbe/cross/executable/powerpc-elf/include
> -O2 -DCROSS_COMPILE
> -DIN_GCC -DHAIFA -DSVR4 -g -O2 -I./include -g1
> -DIN_LIBGCC2
> -D__GCC_FLOAT_NOT_NEEDED -mstrict-align -g -O2
> -I. -I. -I./config
> -I./../include \
> -c ./cp/new2.cc -DL_op_vdelnt -o opvdelnt.o
> make[4]: Leaving directory
> `/data/users/phbe/cross/gcc-2.95.2/gcc'
> make[4]: Entering directory
> `/data/users/phbe/cross/gcc-2.95.2/gcc'
> /data/users/phbe/cross/gcc-2.95.2/gcc/xgcc
> -B/data/users/phbe/cross/gcc-2.95.2/gcc/
> -B/data/users/phbe/cross/executable/powerpc-elf/bin/
>
-I/data/users/phbe/cross/executable/powerpc-elf/include
> -O2 -DCROSS_COMPILE
> -DIN_GCC -DHAIFA -DSVR4 -g -O2 -I./include -g1
> -DIN_LIBGCC2
> -D__GCC_FLOAT_NOT_NEEDED -mstrict-align -g -O2
> -I. -I. -I./config
> -I./../include \
> -c -fexceptions ./cp/exception.cc
> make[4]: Leaving directory
> `/data/users/phbe/cross/gcc-2.95.2/gcc'
> mv tmplibgcc2.a libgcc2.a
> make[3]: Leaving directory
> `/data/users/phbe/cross/gcc-2.95.2/gcc'
> make[2]: Leaving directory
> `/data/users/phbe/cross/gcc-2.95.2/gcc'
> make[1]: Leaving directory
> `/data/users/phbe/cross/gcc-2.95.2/gcc'
>
>
> error output :
> --------------
> /bin/sh: powerpc-elf-ar: not found
> /bin/sh: powerpc-elf-ar: not found
> mv: tmplibgcc2.a: No such file or directory
> make[3]: *** [libgcc2.a] Error 1
> make[2]: *** [stmp-multilib-sub] Error 2
> make[1]: *** [stmp-multilib] Error 1
> make: *** [all-gcc] Error 2
>
>
>
> ------
> Want more information? See the CrossGCC FAQ,
> http://www.objsw.com/CrossGCC/
> Want to unsubscribe? Send a note to
> crossgcc-unsubscribe@sourceware.cygnus.com
>
__________________________________________________
Do You Yahoo!?
Find the one for you at Yahoo! Personals
http://personals.yahoo.com
------
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