X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=README.aix;h=a4134a0b815c0e74ee2e193bcb28374f7ddccd8f;hb=eae1b76ba3ec9dc0fc5d6f1630cae5bff9a78c81;hp=45a062102ac417f76c123bdd806567ace03eb074;hpb=12f54d277871e47d7e76c1ca4ed3d94ed3a58a60;p=p5sagit%2Fp5-mst-13.2.git diff --git a/README.aix b/README.aix index 45a0621..a4134a0 100644 --- a/README.aix +++ b/README.aix @@ -19,7 +19,7 @@ an ANSI compliant C-compiler with AIX by default, but binary builds of gcc for AIX are widely available. At the moment of writing, AIX supports two different native C compilers, -for which you have to pay: B and B. If you decide to use eiter +for which you have to pay: B and B. If you decide to use either of these two (which is quite a lot easier than using gcc), be sure to upgrade to the latest available patch level. Currently: @@ -57,17 +57,22 @@ show the base, but is not always complete: =head2 Building Dynamic Extensions on AIX -AIX supports dynamically loadable libraries (shared libraries). -Shared libraries end with the suffix .a, which is a bit misleading, -because *all* libraries are shared ;-). - -Note that starting from Perl 5.7.2 (and consequently 5.8.0) and AIX -4.3 or newer Perl uses the AIX native dynamic loading interface -instead of the emulated interface that was used in Perl releases 5.6.1 -and earlier or, for AIX releases 4.2 and earlier. This change will -probably break backward compatibility with compiled modules. -The change was made to make Perl more compliant with other applications -like modperl which are using the AIX native interface. +AIX supports dynamically loadable objects as well as shared libraries. +Shared libraries by convention end with the suffix .a, which is a bit +misleading, as an archive can contain static as well as dynamic members. +For perl dynamically loaded objects we use the .so suffix also used on +many other platforms. + +Note that starting from Perl 5.7.2 (and consequently 5.8.0) and AIX 4.3 +or newer Perl uses the AIX native dynamic loading interface in the so +called runtime linking mode instead of the emulated interface that was +used in Perl releases 5.6.1 and earlier or, for AIX releases 4.2 and +earlier. This change does break backward compatibility with compiled +modules from earlier perl releases. The change was made to make Perl +more compliant with other applications like Apache/modperl which are +using the AIX native interface. This change also enables the use of C++ +code with static constructors and destructors in perl extensions, which +was not possible using the emulated interface. =head2 The IBM ANSI C Compiler @@ -154,7 +159,7 @@ Follow the messages ... and you're done. =head2 Using GNU's gcc for building perl -We're woking on this using gcc-3.0 ... (any input highly appreciated) +We're working on this using gcc-3.0 ... (any input highly appreciated) =head2 Using Large Files with Perl