Multithreaded gcc on HP-UX 11?

law@redhat.com law@redhat.com
Fri Jun 7 13:07:00 GMT 2002


In message <001e01c20da9$d376fd60$4a01000a@sanjose.telcontar.com>, "Charles Y. 
Kim" writes:
 > Does this mean that even though my GCC3.0.4 configuration looks like this:
 > 
 > /opt/ckim/gcc-3.0.4/configure --enable-shared --enable-threads=posix --enabl
 > e-version-specific-runtime-libs --prefix=/opt/gcc-3.0.4 --with-gnu-as --with
 > -as=/opt/binutils/bin/as
 > Thread model: posix
 > gcc version 3.0.4
 > 
 > (note the Thread model: posix)
 > 
 > That threads aren't working on my HP11i?
They'll work with some limitations.  The biggest reason the compiler needs 
to know about the underlying thread model is to properly support exception
handling in C++.  So if you're not using exception handling, then things ought
to work reasonably well in a multi-threaded program compiled bug GCC on
hpux11.

jeff




More information about the Gcc-help mailing list