This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
missing gthr-pthread.h
- From: "Li Guohua" <ghli at dstmedia dot com>
- To: <gcc at gcc dot gnu dot org>
- Date: Thu, 24 Oct 2002 19:46:39 +0800
- Subject: missing gthr-pthread.h
- Reply-to: <ghli at dstmedia dot com>
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