This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


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

missing gthr-pthread.h


Hi All,

When I try to compile gcc 3.1.1 under RedHat Linux 7.3 with --enable-threads=pthreads,
I get error message:
In file included from ../../gcc-3.1.1/gcc/gthr.h:98,
                 from ../../gcc-3.1.1/gcc/unwind-dw2-fde-glibc.c:49:
gthr-default.h:1:27: gthr-pthreads.h: No such file or directory

#uname -a
Linux duron 2.4.18-3 #1 Thu Apr 18 07:32:41 EDT 2002 i686 unknown

# gcc -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs
gcc version 2.96 20000731 (Red Hat Linux 7.3 2.96-110)

Could anyone help?

I am using pthread with C++ exception, It seems maybe RedHat's gcc 2.96-110 and gcc 2.96-112
generated wrong exception handling code - a thow statement cause SIGABRT.  Will gcc 3.1.1 help me? 
The installation guide of gcc 3.1.1 says that I must configure with --enable-threads.

Thanks in advance,
Guohua Li


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