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]

Re: missing gthr-pthread.h


> 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


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