This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: PATCH: Re: eh_globals.cc compilation errors with -threads under hpux 10.20
- To: rittle at labs dot mot dot com
- Subject: Re: PATCH: Re: eh_globals.cc compilation errors with -threads under hpux 10.20
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- Date: Wed, 23 May 2001 19:15:51 -0400 (EDT)
- Cc: libstdc++ at gcc dot gnu dot org, bkoz at redhat dot com
> Quick comment: I would like to see this entire hunk go away not be
> extended. If we use gthr.h properly, then it should be unneeded:
>
> no | none | single)
> THREADH=threads-no.h
> ;;
> + dce)
> + THREADH=threads-dce.h
> + ;;
> posix | pthreads)
> THREADH=threads-posix.h
> ;;
> - decosf1 | irix | mach | os2 | solaris | win32 | dce | vxworks)
> + decosf1 | irix | mach | os2 | solaris | win32 | vxworks)
> AC_MSG_WARN(disabling unsupported thread package $target_thread_file)
> THREADH=threads-no.h
> ;;
This selects the file to be installed as c++threads.h. The file gthr.h
is never installed and the information to use it only resides in the
build directory. If STL could be taught to use the gcc thread models,
then that would probably greatly improve the portability of it. However,
this looks to be a bit of work.
Dave
--
J. David Anglin dave.anglin@nrc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6605)