This is the mail archive of the gcc-help@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: gcc 3.2 posix thread support on HP-UX


Hi Jayaram,

> Does it mean - gcc itself cannot use pthreads in the 3.2 version, so gcc
> itself?is a single-threaded program OR
> - gcc cannot correctly build code which uses pthreads ?

It means GCC cannot correctly build code which uses pthreads.

Certain critical functions in the C/C++ standard library may not be
re-entrant.  For example, perhaps the malloc and free functions are not
thread-savvy -- that would be bad.

I recommend using GCC 4.0.2.

Note:  in GCC 3.4, the option is --enable-threads=posix (no longer
--enable-threads=pthreads).

HTH,
--Eljay


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