@@ -764,15 +764,15 @@ \chapter{Dynamic Loading}
764764loading a module that was compiled for a different version of Python
765765(e.g., with a different representation of objects) may dump core.
766766
767- {\bf NEW:} Under SunOS, dynamic loading now uses SunOS shared
768- libraries and is always configured. See at the end of this chapter
769- for how to create a dynamically loadable module.
767+ {\bf NEW:} Under SunOS (all versions) and IRIX 5.x, dynamic loading
768+ now uses shared libraries and is always configured. See at the
769+ end of this chapter for how to create a dynamically loadable module.
770770
771771
772772\section {Configuring and building the interpreter for dynamic loading }
773773
774- (Ignore this section for SunOS --- on SunOS dynamic loading is always
775- configured.)
774+ (Ignore this section for SunOS and IRIX 5.x --- on these systems
775+ dynamic loading is always configured.)
776776
777777Dynamic loading is a little complicated to configure, since its
778778implementation is extremely system dependent, and there are no
@@ -812,8 +812,7 @@ \section{Configuring and building the interpreter for dynamic loading}
812812which version of dl_loadmod to use, and fill in the pathname of the dld
813813library if you use it. And, of course, you must first build
814814dl_loadmod and dld, if used. (This is now done through the Configure
815- script. For SunOS, everything is now automatic as long as the
816- architecture type is \code {sun4}.)
815+ script. For SunOS and IRIX 5.x, everything is now automatic.)
817816
818817
819818\section {Building a dynamically loadable module }
@@ -853,17 +852,17 @@ \section{Building a dynamically loadable module}
853852IF THIS IS NOT DONE THE RESULTING CODE WILL NOT WORK.
854853
855854\item
856- {\bf NEW:} On SunOS, you must create a shared library from your \samp {.o}
857- file using the following command (assuming your module is called
858- \code {foo}):
855+ {\bf NEW:} On SunOS and IRIX 5.x , you must create a shared library
856+ from your \samp {.o} file using the following command (assuming your
857+ module is called \code {foo}):
859858
860859\begin {verbatim }
861860 ld -o foomodule.so foomodule.o <any other libraries needed>
862861\end {verbatim }
863862
864863and place the resulting \samp {.so} file in the Python search path (not
865864the \samp {.o} file). Note: on Solaris, you need to pass \samp {-G} to
866- the loader.
865+ the loader; on IRIX 5.x, you need to pass \samp {-shared}. Sigh.. .
867866
868867\end {itemize }
869868
0 commit comments