Re: libiberty, problems compiling gcc

From: l'indien (l_indien_no_more_spams_at_magic.fr)
Date: 06/04/05


Date: Sat, 04 Jun 2005 21:03:36 +0200

On Sat, 04 Jun 2005 15:53:37 +0200, Jack Malmostoso wrote:

> Ciao LinuxNovice, nel tuo messaggio dicevi:
>
>> What is libiberty and what do i do to solve the problem.
>
> May I ask you why in the world you are compiling gcc, if you don't
> PRECISELY know what you are doing?

Maybe because there is no package cross-compiler in any standard
distribution, no ?

>> ----output----------------
>> make[2]: ***Enteing directory
>> '/home/...../build-gcc/powerpc­-linux/libiberty'
>> make[2]: *** No targets specified and no makefile found. Stop.
>> make[2]: Leaving directory
>> '/home/...../build-gcc/powerpc­-linux/libiberty'
>> make[1]: *** [../libiberty/libiberty.a] Error 2
>> make[1]: Leaving directory
>> `/'/home/...../build-gcc/power­pc-linux/libstdc++'
>> make: *** [all-target-libstdc++] Error 2
>> --------------------------
>> What is libiberty and what do i do to solve the problem.

libiberty is a library of helpers used by some GNU packages.
What seem to appear is that the libstdc++ subdirectory has not been
configured properly.
It can be because configure did not found the headers/librairies for the
PowerPC glibc...
I think you have to tell configure where to find the C library if you want
to be able to compile the full compiler. I'm sorry I don't remember the
exact option, but you'll find it in the gcc package documentation (there's
a doc explaining how to setup a cross compiler...).