This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author rwgk
Recipients
Date 2006-04-10.23:58:12
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Logged In: YES 
user_id=71407

Boris Gubenko from HP provides this information:


Hi Ralf,

the -mt option sets -lpthread link option and defines
various macros
related to multithreading, including _REENTRANT macro. It
must be
specified when compiling/linking a multithreaded application.

The -mt option is supported in latest aCC compilers,
including the
aCC V6 compiler (available on IA64 only). I'm not sure if -mt is
supported in old aCC V3 compiler available on PA-RISC only,
but since
Python cannot be compiled with this compiler, this question is,
probably, moot. If configuration script wants to be
selective about
the aCC compiler version, it can check __HP_aCC macro
predefined by
the compiler and apply '-mt' if __HP_aCC >= 60000.

As for the gnu compiler, I think, that the equivalent of
'-mt' would
be '-pthreads' (for cxx on Tru64, it would be '-pthread').

I don't know how to reply to the post on Python forum you've
referred
me to. I guess, I'd need to register for an account. I can
do it if
you want me to. Or you can just post it on my behalf.

Thanks,
  Boris

----- Original Message ----- 
From: "Ralf W. Grosse-Kunstleve" <rwgk@yahoo.com>
To: <Boris.Gubenko@hp.com>
Cc: <rwgk@yahoo.com>
Sent: Sunday, April 09, 2006 2:11 PM
Subject: HP-UX Python configure


Hi Boris,

Could you please help out here?

https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1465838&group_id=5470

Especially with this question: "Is this option for all
versions?"

Thank you in advance!

Cheers,
        Ralf
History
Date User Action Args
2008-01-20 09:58:39adminlinkissue1465838 messages
2008-01-20 09:58:39admincreate