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


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

Re: PATCH: Re: eh_globals.cc compilation errors with -threads under hpux 10.20


> 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)


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