X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=README.macosx;h=a0b21af8c7be5d02e0caad8ee45af7ed4272d718;hb=f8abb37e5b952f76a9e019137369e3f8ef5a58ae;hp=235618a0ca68246c6f7932b783bf203e91a9cecd;hpb=ee94f8101362ee382e42ec2d404d79b0ab7d17ef;p=p5sagit%2Fp5-mst-13.2.git diff --git a/README.macosx b/README.macosx index 235618a..a0b21af 100644 --- a/README.macosx +++ b/README.macosx @@ -69,6 +69,12 @@ for creating a universal binary: -Aldflags="-arch i686 -arch ppc -Wl,-syslibroot,$SDK" \ -de +In Leopard (MacOSX 10.5.6 at the time of this writing) you must use the 10.5 SDK: + + export SDK=/Developer/SDKs/MacOSX10.5.sdk + +You can use the same compiler flags you would use with the 10.4u SDK. + Keep in mind that these compiler and linker settings will also be used when building CPAN modules. For XS modules to be compiled as a universal binary, any libraries it links to must also be universal binaries. The system libraries that