<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Mac Intel Gecko SDK</title>
	<atom:link href="http://www.oxymoronical.com/blog/2007/05/Mac-Intel-Gecko-SDK/feed" rel="self" type="application/rss+xml" />
	<link>http://www.oxymoronical.com/blog/2007/05/Mac-Intel-Gecko-SDK</link>
	<description>Spouting nonsense from the depths of my spare time</description>
	<lastBuildDate>Sat, 14 Jan 2012 22:20:26 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Paul Dann</title>
		<link>http://www.oxymoronical.com/blog/2007/05/Mac-Intel-Gecko-SDK#comment-6</link>
		<dc:creator>Paul Dann</dc:creator>
		<pubDate>Mon, 29 Oct 2007 10:24:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.oxymoronical.com/blog/2007/05/Mac-Intel-Gecko-SDK#comment-6</guid>
		<description>The following walkthrough may be helpful to those that would like to create a Universal SDK and XUL.framework:&lt;br&gt;

&lt;br&gt;

http://www.danns.co.uk/HowToBuildUniversalSDK&lt;br&gt;

&lt;br&gt;

Apologies if you have difficulty accessing it.  It&#039;s currently hosted on a home server.</description>
		<content:encoded><![CDATA[<p>The following walkthrough may be helpful to those that would like to create a Universal SDK and XUL.framework:</p>
<p><a href="http://www.danns.co.uk/HowToBuildUniversalSDK" rel="nofollow">http://www.danns.co.uk/HowToBuildUniversalSDK</a></p>
<p>Apologies if you have difficulty accessing it.  It&#8217;s currently hosted on a home server.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric Searcy</title>
		<link>http://www.oxymoronical.com/blog/2007/05/Mac-Intel-Gecko-SDK#comment-5</link>
		<dc:creator>Eric Searcy</dc:creator>
		<pubDate>Wed, 05 Sep 2007 02:08:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.oxymoronical.com/blog/2007/05/Mac-Intel-Gecko-SDK#comment-5</guid>
		<description>Thanks!  This was a big help not having to compile these myself.  However, I wanted the universal ones, so I went ahead and built those too.  This works for me; YMMV.  Here&#039;s how I did it:&lt;br&gt;

&lt;br&gt;

Download Dave&#039;s build, and extract (the folder will be gecko-sdk-mac-intel-1.8.1.3).  Download ppc build from http://releases.mozilla.org/pub/mozilla.org/xulrunner/releases/1.8.1.3/contrib/sdk/ .  Extract and rename folder from gecko-sdk to gecko-sdk-mac-ppc-1.8.1.3.  Create a copy of the Intel version (I chose Dave&#039;s as my base, because there are some slight differences in header files with the Intel ones having more #define lines).&lt;br&gt;

&lt;br&gt;

$ cp -R gecko-sdk-mac-intel-1.8.1.3/ gecko-sdk&lt;br&gt;

&lt;br&gt;

Then remove the libraries from the copy.&lt;br&gt;

&lt;br&gt;

$ rm gecko-sdk/lib/*&lt;br&gt;

&lt;br&gt;

The tool to use is lipo, see LIPO(1) for more info.  I&#039;m using a `sh&#039; for loop to streamline creating the Mach-O fat file:&lt;br&gt;

&lt;br&gt;

$ for library in $(ls gecko-sdk-mac-intel-1.8.1.3/lib/); do lipo -create -output gecko-sdk/lib/${library} -arch ppc gecko-sdk-mac-ppc-1.8.1.3/lib/${library} -arch i386 gecko-sdk-mac-intel-1.8.1.3/lib/${library}; done&lt;br&gt;

&lt;br&gt;

Test to see that it worked:&lt;br&gt;

&lt;br&gt;

$ ls gecko-sdk/lib/&lt;br&gt;

libembed_base_s.a libplc4.dylib     libxpcom.dylib    libxpcomglue_s.a&lt;br&gt;

libnspr4.dylib    libplds4.dylib    libxpcomglue.a&lt;br&gt;

$ file gecko-sdk/lib/libxpcom.dylib  &lt;br&gt;

gecko-sdk/lib/libxpcom.dylib: Mach-O fat file with 2 architectures&lt;br&gt;

gecko-sdk/lib/libxpcom.dylib (for architecture ppc):    Mach-O dynamically linked shared library ppc&lt;br&gt;

gecko-sdk/lib/libxpcom.dylib (for architecture i386):   Mach-O dynamically linked shared library i386</description>
		<content:encoded><![CDATA[<p>Thanks!  This was a big help not having to compile these myself.  However, I wanted the universal ones, so I went ahead and built those too.  This works for me; YMMV.  Here&#8217;s how I did it:</p>
<p>Download Dave&#8217;s build, and extract (the folder will be gecko-sdk-mac-intel-1.8.1.3).  Download ppc build from <a href="http://releases.mozilla.org/pub/mozilla.org/xulrunner/releases/1.8.1.3/contrib/sdk/" rel="nofollow">http://releases.mozilla.org/pub/mozilla.org/xulrunner/releases/1.8.1.3/contrib/sdk/</a> .  Extract and rename folder from gecko-sdk to gecko-sdk-mac-ppc-1.8.1.3.  Create a copy of the Intel version (I chose Dave&#8217;s as my base, because there are some slight differences in header files with the Intel ones having more #define lines).</p>
<p>$ cp -R gecko-sdk-mac-intel-1.8.1.3/ gecko-sdk</p>
<p>Then remove the libraries from the copy.</p>
<p>$ rm gecko-sdk/lib/*</p>
<p>The tool to use is lipo, see LIPO(1) for more info.  I&#8217;m using a `sh&#8217; for loop to streamline creating the Mach-O fat file:</p>
<p>$ for library in $(ls gecko-sdk-mac-intel-1.8.1.3/lib/); do lipo -create -output gecko-sdk/lib/${library} -arch ppc gecko-sdk-mac-ppc-1.8.1.3/lib/${library} -arch i386 gecko-sdk-mac-intel-1.8.1.3/lib/${library}; done</p>
<p>Test to see that it worked:</p>
<p>$ ls gecko-sdk/lib/</p>
<p>libembed_base_s.a libplc4.dylib     libxpcom.dylib    libxpcomglue_s.a</p>
<p>libnspr4.dylib    libplds4.dylib    libxpcomglue.a</p>
<p>$ file gecko-sdk/lib/libxpcom.dylib  </p>
<p>gecko-sdk/lib/libxpcom.dylib: Mach-O fat file with 2 architectures</p>
<p>gecko-sdk/lib/libxpcom.dylib (for architecture ppc):    Mach-O dynamically linked shared library ppc</p>
<p>gecko-sdk/lib/libxpcom.dylib (for architecture i386):   Mach-O dynamically linked shared library i386</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff Boulter</title>
		<link>http://www.oxymoronical.com/blog/2007/05/Mac-Intel-Gecko-SDK#comment-4</link>
		<dc:creator>Jeff Boulter</dc:creator>
		<pubDate>Sat, 14 Jul 2007 18:15:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.oxymoronical.com/blog/2007/05/Mac-Intel-Gecko-SDK#comment-4</guid>
		<description>Thanks. Looks like it needs libIDL to work. I did&lt;br&gt;

&lt;br&gt;

 sudo port install libidl&lt;br&gt;

&lt;br&gt;

and I was good to go.</description>
		<content:encoded><![CDATA[<p>Thanks. Looks like it needs libIDL to work. I did</p>
<p> sudo port install libidl</p>
<p>and I was good to go.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

