niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » *nix » Linux » powerpc
libiberty, problems compiling gcc
Post new topic   Reply to topic Page 1 of 1 [4 Posts] View previous topic :: View next topic
Author Message
LinuxNovice
*nix forums beginner


Joined: 04 Jun 2005
Posts: 5

PostPosted: Sat Jun 04, 2005 11:12 am    Post subject: libiberty, problems compiling gcc Reply with quote

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
Quote:
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++
Back to top
Jack Malmostoso
*nix forums addict


Joined: 06 Mar 2005
Posts: 60

PostPosted: Sat Jun 04, 2005 11:53 am    Post subject: Re: libiberty, problems compiling gcc Reply with quote

Ciao LinuxNovice, nel tuo messaggio dicevi:

Quote:
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?

--
On Oct 5 1991, 8.53 AM; Linus Benedict Torvalds said:
Quote:
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.
Back to top
l'indien
*nix forums beginner


Joined: 08 Apr 2005
Posts: 23

PostPosted: Sat Jun 04, 2005 5:03 pm    Post subject: Re: libiberty, problems compiling gcc Reply with quote

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

Quote:
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 ?

Quote:
----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...).
Back to top
Jack Malmostoso
*nix forums addict


Joined: 06 Mar 2005
Posts: 60

PostPosted: Sat Jun 04, 2005 6:08 pm    Post subject: Re: libiberty, problems compiling gcc Reply with quote

Ciao l'indien, nel tuo messaggio dicevi:

Quote:
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 :)

--
On Oct 5 1991, 8.53 AM; Linus Benedict Torvalds said:
Quote:
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.
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [4 Posts] View previous topic :: View next topic
The time now is Fri Jan 09, 2009 4:08 am | All times are GMT
navigation Forum index » *nix » Linux » powerpc
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts Winbind problems for ADS authentication nlinley networking 1 Tue Sep 19, 2006 9:22 am
No new posts problems using oddmuse with mod_perl2 inside apache2.2 pe... Fergus McMenemie Perl 0 Fri Jul 21, 2006 9:48 am
No new posts Problems with make-kpkg and skas patch Todd A. Jacobs Debian 0 Fri Jul 21, 2006 12:30 am
No new posts Problems with relay control Félix Martos Trenado Postfix 3 Thu Jul 20, 2006 3:33 pm
No new posts again a newbie... :( compiler problems Thorsten Kaben C++ 18 Thu Jul 20, 2006 2:52 am

Loans and Credit Cards | Web Advertising | Credit Counseling | Credit Cards | Credit Cards UK
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.3441s ][ Queries: 16 (0.2252s) ][ GZIP on - Debug on ]