This is the mail archive of the crossgcc@sourceware.org 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: Error generating gcc-2.95.2-glibc-2.1.3 arm4vb-linux toolchain -- pthread.h: No such file or directory


This could happen if you dont have glibc/newlib headers installed before building full cross gcc
Could you provide more information. Like at what step did this occur.
Post your log.


-Khem

Supriya Sriraman wrote:
Using Dan Kegel's crosstool-0.43 I am trying to generate a
gcc-2.95.2-glibc-2.1.3 armv4b-linux big endian ARM toolchain

binutils-2.12.1

I do need to use the above gcc and glibc versions for legacy reasons.

Here are the options configure uses:
crosstool-0.43/build/armv4b-unknown-linux-gnu/gcc-2.95.2-glibc-2.1.3/binutils-2.12.1/configure


--target=armv4b-unknown-linux-gnu --host=i686-host_pc-linux-gnu
--prefix=...[deleted].../crosstool/gcc-2.95.2-glibc-2.1.3
/armv4b-unknown-linux-gnu --disable-nls
--with-sysroot=...[deleted].../build/crosstool-0.43/crosstool/gcc-2.95.2-glibc-2.1.3/armv4b-unknown-linux-gnu/armv4b-unknown-linux-gnu




Error:
In file included from gthr-default.h:1,
from
/proj/tftp/u/ssrirama/build/crosstool-0.43/build/armv4b-unknown-linux-gnu/gcc-2.95.2-glibc-2.1.3/gcc-2.95.2/gcc/gthr.h:98,


from /proj/tftp/u/ssrirama/build/crosstool-
0.43/build/armv4b-unknown-linux-gnu/gcc-2.95.2-glibc-2.1.3/gcc-2.95.2/gcc/libgcc2.c:3034:


...[deleted].../build/crosstool-0.43/build/armv4b-unknown-linux-gnu/gcc-2.95.2-glibc-2.1.3/gcc-2.95.2/gcc/gthr-posix.h:37:

pthread.h : 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

Does anyone know how to fix this problem?

Thanks,
Supriya

--
For unsubscribe information see http://sourceware.org/lists.html#faq



--
For unsubscribe information see http://sourceware.org/lists.html#faq


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