Languages and Scripting
cancel
Showing results for 
Search instead for 
Did you mean: 

Need gcc version for HP_UX 11 where thread-model = posix

 
Highlighted
Frequent Advisor

Need gcc version for HP_UX 11 where thread-model = posix

I am running gcc version 3.4.2. When I do a 'gcc -v' it tells me that my threading model is single. I have a mulit-threaded application. Do I need to upgrade to a version of gcc where thread-model = posix? If so, where can I find depots (not source code!!) that have this feature already turned on? Thanks. Please point me directly to the downloadable file(s) and not to a general website.

 

 

-------------------------------

P.S. This Thread has been moved from HP-UX --> General to HP-UX --> Languages & Scripting - Forum Moderator

18 REPLIES 18
Highlighted
Honored Contributor

Re: Need gcc version for HP_UX 11 where thread-model = posix

Here is wher you can get the most recent version of gcc for hpux (as well as many other apps for the hpux environment)

http://hpux.cs.utah.edu/hppd/hpux/Gnu/gcc-3.4.3/
Highlighted
Frequent Advisor

Re: Need gcc version for HP_UX 11 where thread-model = posix

The link does not work. Can you check it and repost. Thanks. Also, do you know if this depot has --enable-threads=posix turned on?
Highlighted
Frequent Advisor

Re: Need gcc version for HP_UX 11 where thread-model = posix

This appears to be for HP-UX 11.11. I am running 11.00
Highlighted
Honored Contributor

Re: Need gcc version for HP_UX 11 where thread-model = posix

going throught the on line man page at the site, ther is a -pthreads option for multithreading.

I was able to click on the link and get to the site. There is a mirror site available in the UK as well, but I do not have that link off hand.
Highlighted
Honored Contributor

Re: Need gcc version for HP_UX 11 where thread-model = posix

There are three versions to download from the site: 11.11, 11,23 and a general HPUX version. I believe the last one will suit your needs
Highlighted
Frequent Advisor

Re: Need gcc version for HP_UX 11 where thread-model = posix

Nope. It is also an 11.11 version. Looks like this website doesn't support before 11.11 anymore. Look at this:

http://hpux.cs.utah.edu/hppd/answers/5-4.html


Highlighted
Honored Contributor

Re: Need gcc version for HP_UX 11 where thread-model = posix

Found this site - it has 11.0 binaries as a link.

http://gcc.gnu.org/install/binaries.html
Highlighted
Frequent Advisor

Re: Need gcc version for HP_UX 11 where thread-model = posix

That's closer. Those are version 3.0.1 from 2001. Still not really what I need.
Highlighted
Honored Contributor

Re: Need gcc version for HP_UX 11 where thread-model = posix

Try this one

ftp://ftp.thewrittenword.com/packages/by-name/gcc-3.4.3/

You might have to dod refresh to connect - but does list an 11.00 3.4.3 gcc