Discussion:
libiberty, problems compiling gcc
(too old to reply)
LinuxNovice
2005-06-04 13:12:33 UTC
Permalink
Stuck compiling gcc....


----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.


details:


host : x86 : fedora core 3
target :ppc 8xx
steps:
1. built boot gcc (c only)
2. built glibc
3. presently compiling full gcc <<
versions:
binutils : 2.14
glibc: 2.2.5
gcc: 2.95.3


configured:
../gcc-2.95.3/configure --target=powerpc-linux --prefix=${PREFIX}
--enable-languages=c,c++
Jack Malmostoso
2005-06-04 13:53:37 UTC
Permalink
Post by LinuxNovice
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?
--
Post by LinuxNovice
I can (well, almost) hear you asking yourselves "why?". Hurd will be
out in a year (or two, or next month, who knows), and I've already got
minix.
l'indien
2005-06-04 19:03:36 UTC
Permalink
Post by Jack Malmostoso
Post by LinuxNovice
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 ?
Post by Jack Malmostoso
Post by LinuxNovice
----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...).
Jack Malmostoso
2005-06-04 20:08:40 UTC
Permalink
Post by l'indien
Maybe because there is no package cross-compiler in any standard
distribution, no ?
Good point, but I expect that a person that starts the peril towards a
cross-compiling chain knows what he's doing. And my friend LinuxNovice
doesn't look that keen :)
--
Post by l'indien
I can (well, almost) hear you asking yourselves "why?". Hurd will be
out in a year (or two, or next month, who knows), and I've already got
minix.
Loading...