[Python-Dev] HP-UX clean-up
Andrew.MacKeith at ABAQUS.com
Thu Jan 8 16:56:46 EST 2004
Skip Montanaro wrote:
> Andrew> We therefore have to have flags that will force HP to compile
> Andrew> for some common generic processor.
> Skip> Can you submit a patch with these changes?
> Cameron> You're losing me, Skip. What, to you, would constitute "a
> Cameron> patch"?
> Probably a patch to configure.in. We set lots of platform- or OS-specific
> compilation flags there.
My lack of experience with configure make it hard to
submit a patch, so I'll ask python-dev first.
If that's too much I'll have a go, but it will take a while.
These are the settings that we use:
c89 -c +DA2.0 +DS2.0 +Z -D_LARGEFILE64_SOURCE
aCC -c +DA2.0 +DS2.0 +Z -D_LARGEFILE64_SOURCE
aCC +DA2.0 +DS2.0 +Z -Wl,+s -Wl,+k ... -lpthread
c89 -c +DA2.0W +DS2.0a +Z -D_REENTRANT
aCC -c +DA2.0W +DS2.0a +Z -D_REENTRANT
aCC +DA2.0W +DS2.0a +Z -Wl,+s -Wl,+k ... -lpthread
cc -c +DD64 +DSitanium2 -Ae -mt -D_POSIX_C_SOURCE=199506L
aCC -c +DD64 +DSitanium2 -AP -mt
aCC +DD64 +DSitanium2 -AP -mt -Wl,+k -Wl,+s
NOTE: the multithreading flags (-D_REENTRANT -mt) should only
be applied to the files where there is actually threaded code.
When applied to all files indiscriminately, they cause overall
AFAIK the files with threaded code are:
We also found that if the build is linked without specifying
the thread library, the build appears fine, but threading
doesn't happen at run-time.
> Python-Dev mailing list
> Python-Dev at python.org
> Unsubscribe: http://mail.python.org/mailman/options/python-dev/mackeith%40acm.org
More information about the Python-Dev