From: Igor Sutton Date: Tue, 30 Dec 2008 23:41:07 +0000 (+0100) Subject: added information how to build on Leopard X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=675b0f774d374f6951c02c6463c64a746ad46acd;p=p5sagit%2Fp5-mst-13.2.git added information how to build on Leopard --- 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