Re: Shared libs on HP-UX?

Neal Becker (neal@ctd.comsat.com)
Tue, 7 Feb 95 11:26 EST

>>>>> "Guido" == Guido van Rossum <Guido.van.Rossum@cwi.nl> writes:

>> How do I build 1.1 with dynamic loading on HP-UX?
Guido> The following is in the file Misc/HPUX-NOTES in the 1.1 distribution:
[...]

Actually, I just needed to do 'make sharedinstall'.

I want to announce that I built with gcc-2.6.3.u6 on hpux9 using the
following patch.
gcc-2.6.3.u6 supports building shared libs! It's available from
jaguar.cs.utah.edu.

As far as I can tell it's working. Care to suggest any tests?

*** 1.1 1994/10/12 12:39:45
--- configure 1994/10/12 12:43:06
***************
*** 1094,1100 ****
if test -z "$CCSHARED"
then
case $ac_system in
! hp*|HP*) CCSHARED="+z";;
esac
test -n "$verbose" && echo " setting CCSHARED= to '$CCSHARED'"
fi
--- 1094,1100 ----
if test -z "$CCSHARED"
then
case $ac_system in
! hp*|HP*) if test -n "$GCC"; then CCSHARED="-fpic"; else CCSHARED="+z"; fi ;;
esac
test -n "$verbose" && echo " setting CCSHARED= to '$CCSHARED'"
fi