<?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: Compiling Static Libraries for iPhone / Simulator</title>
	<atom:link href="http://iphone.galloway.me.uk/2009/11/compiling-static-libraries-for-iphone-simulator/feed/" rel="self" type="application/rss+xml" />
	<link>http://iphone.galloway.me.uk/2009/11/compiling-static-libraries-for-iphone-simulator/</link>
	<description>iPhone Applications</description>
	<lastBuildDate>Mon, 06 Feb 2012 20:55:13 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Matt Galloway</title>
		<link>http://iphone.galloway.me.uk/2009/11/compiling-static-libraries-for-iphone-simulator/comment-page-1/#comment-1532</link>
		<dc:creator>Matt Galloway</dc:creator>
		<pubDate>Fri, 23 Jul 2010 08:17:51 +0000</pubDate>
		<guid isPermaLink="false">http://iphone.galloway.me.uk/?p=245#comment-1532</guid>
		<description>@Evan - Yes I use lipo quite a lot to make a universal (fat) library. It&#039;s useful to be able to just have 1 file that can be used for armv6, armv7 or i386.

As for your unknown -arch problem - could you provide more on the error, such as the command line that gcc was doing at the time please?</description>
		<content:encoded><![CDATA[<p>@Evan &#8211; Yes I use lipo quite a lot to make a universal (fat) library. It&#8217;s useful to be able to just have 1 file that can be used for armv6, armv7 or i386.</p>
<p>As for your unknown -arch problem &#8211; could you provide more on the error, such as the command line that gcc was doing at the time please?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Evan Stachowiak</title>
		<link>http://iphone.galloway.me.uk/2009/11/compiling-static-libraries-for-iphone-simulator/comment-page-1/#comment-1520</link>
		<dc:creator>Evan Stachowiak</dc:creator>
		<pubDate>Tue, 20 Jul 2010 21:28:29 +0000</pubDate>
		<guid isPermaLink="false">http://iphone.galloway.me.uk/?p=245#comment-1520</guid>
		<description>Hi Matt,

I&#039;m trying to statically compile libical. Your directions work great for the Simulator, but I&#039;m getting an error for Device. Here is my error:
cc1: error: unrecognized command line option &quot;-arch&quot;

Wondering if you had any ideas about this?

Also may want to consider making into Universal Binary:
http://developer.apple.com/mac/library/technotes/tn2005/tn2137.html

If only I had two binaries that compiled I could test lipo out as well...</description>
		<content:encoded><![CDATA[<p>Hi Matt,</p>
<p>I&#8217;m trying to statically compile libical. Your directions work great for the Simulator, but I&#8217;m getting an error for Device. Here is my error:<br />
cc1: error: unrecognized command line option &#8220;-arch&#8221;</p>
<p>Wondering if you had any ideas about this?</p>
<p>Also may want to consider making into Universal Binary:<br />
<a href="http://developer.apple.com/mac/library/technotes/tn2005/tn2137.html" rel="nofollow">http://developer.apple.com/mac/library/technotes/tn2005/tn2137.html</a></p>
<p>If only I had two binaries that compiled I could test lipo out as well&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt Galloway</title>
		<link>http://iphone.galloway.me.uk/2009/11/compiling-static-libraries-for-iphone-simulator/comment-page-1/#comment-471</link>
		<dc:creator>Matt Galloway</dc:creator>
		<pubDate>Mon, 04 Jan 2010 21:19:50 +0000</pubDate>
		<guid isPermaLink="false">http://iphone.galloway.me.uk/?p=245#comment-471</guid>
		<description>Hi Torsten,

The ~ is to put it into your home directory. Sometimes that works, sometimes you need to specify it directly with /Users/&lt;username&gt; etc.

The -no-cpp-precomp came from somewhere else to be honest. I&#039;m a little vague on what it *actually* does, but it seems that for most libraries it&#039;s required / works.

You don&#039;t want to pass in references to the SDK frameworks usually. That would only be required if the library you are compiling for is specially coded for the iPhone and in which case you probably wouldn&#039;t be reading this anyway because they would have created the Makefile specially for the iPhone.

Do you need any specific help with the package you are trying to compile?</description>
		<content:encoded><![CDATA[<p>Hi Torsten,</p>
<p>The ~ is to put it into your home directory. Sometimes that works, sometimes you need to specify it directly with /Users/<username> etc.</p>
<p>The -no-cpp-precomp came from somewhere else to be honest. I&#8217;m a little vague on what it *actually* does, but it seems that for most libraries it&#8217;s required / works.</p>
<p>You don&#8217;t want to pass in references to the SDK frameworks usually. That would only be required if the library you are compiling for is specially coded for the iPhone and in which case you probably wouldn&#8217;t be reading this anyway because they would have created the Makefile specially for the iPhone.</p>
<p>Do you need any specific help with the package you are trying to compile?</username></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Torsten Curdt</title>
		<link>http://iphone.galloway.me.uk/2009/11/compiling-static-libraries-for-iphone-simulator/comment-page-1/#comment-452</link>
		<dc:creator>Torsten Curdt</dc:creator>
		<pubDate>Sat, 02 Jan 2010 03:09:07 +0000</pubDate>
		<guid isPermaLink="false">http://iphone.galloway.me.uk/?p=245#comment-452</guid>
		<description>Why the &quot;~&quot; before $SDKROOT? Also wondering why the -no-cpp-precomp. Don&#039;t you usually also want to pass in the references to the SDK frameworks via &quot;-F&quot;? Also some headers are not in the simulator SDK (e.g. in_systm.h) I guess that needs another &quot;-I&quot;.

Currently fighting myself with this stuff :)</description>
		<content:encoded><![CDATA[<p>Why the &#8220;~&#8221; before $SDKROOT? Also wondering why the -no-cpp-precomp. Don&#8217;t you usually also want to pass in the references to the SDK frameworks via &#8220;-F&#8221;? Also some headers are not in the simulator SDK (e.g. in_systm.h) I guess that needs another &#8220;-I&#8221;.</p>
<p>Currently fighting myself with this stuff <img src='http://iphone.galloway.me.uk/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>

