This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: missing gthr-pthread.h
- From: Loren James Rittle <rittle at latour dot rsch dot comm dot mot dot com>
- To: gcc at gcc dot gnu dot org
- Cc: ghli at dstmedia dot com
- Date: Thu, 24 Oct 2002 19:30:48 -0500 (CDT)
- Subject: Re: missing gthr-pthread.h
- Organization: Networks and Infrastructure Lab (IL02/2240), Motorola Labs
> 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
Use --enable-threads=posix instead. Some ports redirect
--enable-threads=pthreads to mean --enable-threads=posix (the targets
that do are explicitly documented), some don't. It is unfortunate
that this situation is not caught at the early configure time.
If you found documentation in the installation guide which told you to
use --enable-threads=pthreads for i386-redhat-linux, then it is wrong
and should be updated. However, I found no such documentation.
Regards,
Loren