X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=README.aix;h=39ff260d8f83666411a5a885e462d97593fa9acf;hb=b591c46eb65d6e62eab41547c2c448d20bc047a9;hp=b8c192ba0858055577ef0d5447c0ffb333c45420;hpb=bef58541c5c970d738b420d60bf573e3d728ab4f;p=p5sagit%2Fp5-mst-13.2.git diff --git a/README.aix b/README.aix index b8c192b..39ff260 100644 --- a/README.aix +++ b/README.aix @@ -183,6 +183,35 @@ If you like a more web-like approach, a good start point can be http://www14.software.ibm.com/webapp/download/downloadaz.jsp and click "C for AIX", and follow the instructions. +=head2 The usenm option + +If linking miniperl + + cc -o miniperl ... miniperlmain.o opmini.o perl.o ... -lm -lc ... + +causes error like this + + ld: 0711-317 ERROR: Undefined symbol: .aintl + ld: 0711-317 ERROR: Undefined symbol: .copysignl + ld: 0711-317 ERROR: Undefined symbol: .syscall + ld: 0711-317 ERROR: Undefined symbol: .eaccess + ld: 0711-317 ERROR: Undefined symbol: .setresuid + ld: 0711-317 ERROR: Undefined symbol: .setresgid + ld: 0711-317 ERROR: Undefined symbol: .setproctitle + ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information. + +you could retry with + + make realclean + rm config.sh + ./Configure -Dusenm ... + +which makes Configure to use the C tool when scanning for library +symbols, which usually is not done in AIX. + +Related to this, you probably should not use the C<-r> option of +Configure in AIX, because that affects of how the C tool is used. + =head2 Using GNU's gcc for building perl Using gcc-3.x (tested with 3.0.4, 3.1, and 3.2) now works out of the box, @@ -198,7 +227,7 @@ Should yield no problems. =head2 Threaded Perl Threads seem to work OK, though at the moment not all tests pass when -threads are used in combination with 64bit configurations. +threads are used in combination with 64-bit configurations. You may get a warning when doing a threaded build: @@ -216,7 +245,7 @@ is not really significant here. =head2 64-bit Perl -If your AIX is installed with 64-bit support, you can expect 64bit +If your AIX is installed with 64-bit support, you can expect 64-bit configurations to work. In combination with threads some tests might still fail. @@ -232,7 +261,7 @@ therefore in AIX 4.2 Perl is not linked against the libC_r. =head1 AUTHOR -H.Merijn Brand +H.Merijn Brand =head1 DATE