This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: powerpc-linux gcc build error


Ganesh.Tawde@relianceinfo.com wrote:
I am trying to build a cross compiler toolset for powerpc-linux on a RH9
Linux machine. The binutils builds fine. When it comes to building the gcc
core, I get the following error. I m using gcc-3.4.0, binutils-2.14,
glibc-2.3.2 and glibc-linuxthreads-2.3.2.

In file included from ./tm.h:10,
                 from ../../gcc-3.4.0/gcc/libgcc2.c:43:
../../gcc-3.4.0/gcc/config/rs6000/linux.h:100:20: signal.h: No such file or directory

Googling on this error gave me some results with similar error faced before
by many people but could not find a proper solution.

You need the headers from glibc, I think. There are circular dependencies between gcc and glibc that are hard to satisfy. Perhaps you should try crosstool; it's an updated version of Bill Gatliff's script, and takes care of all the circular dependencies. You can download the crosstool script at http://kegel.com/crosstool And as you can see from http://kegel.com/crosstool/current/buildlogs/ I've verified that the combinations gcc-3.4.4 glibc-2.3.5 binutils-2.15 linux-2.6.8 (with gcc-3.4.4 as the core gcc) gcc-3.4.4 glibc-2.3.2 binutils-2.15 linux-2.6.8 (with gcc-3.3.6 as the core gcc) build toolchains that can build gdb and the 2.6 kernel, so you're probably in luck.

Any reason you want to use gcc-3.4.0 instead of gcc-3.4.4?
There were some real bugs in gcc-3.4.0 that got fixed for 3.4.4.
- Dan

--
Trying to get a job as a c++ developer?  See http://kegel.com/academy/getting-hired.html

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


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