<?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 C Code for Android Using OS X</title>
	<atom:link href="http://droidhacks.com/2009/05/compiling-c-code-for-android-using-os-x/feed/" rel="self" type="application/rss+xml" />
	<link>http://droidhacks.com/2009/05/compiling-c-code-for-android-using-os-x/</link>
	<description>Tips and Tricks for Android Users</description>
	<lastBuildDate>Fri, 08 Jan 2010 19:21:56 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Nguyen Trong Nghia</title>
		<link>http://droidhacks.com/2009/05/compiling-c-code-for-android-using-os-x/comment-page-1/#comment-26</link>
		<dc:creator>Nguyen Trong Nghia</dc:creator>
		<pubDate>Tue, 06 Oct 2009 09:10:21 +0000</pubDate>
		<guid isPermaLink="false">http://droidhacks.com/?p=24#comment-26</guid>
		<description>I&#039;ve solved the problem.
It&#039;s because agcc could not find the lib at which specified by:
my $ALIB = &quot;$DROID/out/target/product/generic/obj/lib&quot;;

So I put Android NDK together with Android source with small change in agcc so that it can find the lib, include and SHARED_LIBRARIES correctly.

Regards,</description>
		<content:encoded><![CDATA[<p>I&#8217;ve solved the problem.<br />
It&#8217;s because agcc could not find the lib at which specified by:<br />
my $ALIB = &#8220;$DROID/out/target/product/generic/obj/lib&#8221;;</p>
<p>So I put Android NDK together with Android source with small change in agcc so that it can find the lib, include and SHARED_LIBRARIES correctly.</p>
<p>Regards,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nguyen Trong Nghia</title>
		<link>http://droidhacks.com/2009/05/compiling-c-code-for-android-using-os-x/comment-page-1/#comment-25</link>
		<dc:creator>Nguyen Trong Nghia</dc:creator>
		<pubDate>Mon, 05 Oct 2009 11:22:01 +0000</pubDate>
		<guid isPermaLink="false">http://droidhacks.com/?p=24#comment-25</guid>
		<description>Hi,

I did the same procedure in my Ubuntu PC. But agcc generate error 
/android-ndk-1.5_r1/build/prebuilt/linux-x86/arm-eabi-4.2.1/bin/../lib/gcc/arm-eabi/4.2.1/include/stdio.h:160: error: expected &#039;=&#039;, &#039;,&#039;, &#039;;&#039;, &#039;asm&#039; or &#039;__attribute__&#039; before &#039;extern&#039;
/android-ndk-1.5_r1/build/prebuilt/linux-x86/arm-eabi-4.2.1/bin/../lib/gcc/arm-eabi/4.2.1/include/stdio.h:229: error: expected &#039;=&#039;, &#039;,&#039;, &#039;;&#039;, &#039;asm&#039; or &#039;__attribute__&#039; before &#039;__BEGIN_DECLS&#039;
/android-ndk-1.5_r1/build/prebuilt/linux-x86/arm-eabi-4.2.1/bin/../lib/gcc/arm-eabi/4.2.1/include/stdio.h:377: error: expected &#039;=&#039;, &#039;,&#039;, &#039;;&#039;, &#039;asm&#039; or &#039;__attribute__&#039; before &#039;__BEGIN_DECLS&#039;
/android-ndk-1.5_r1/build/prebuilt/linux-x86/arm-eabi-4.2.1/bin/../lib/gcc/arm-eabi/4.2.1/include/stdio.h:388: error: expected &#039;=&#039;, &#039;,&#039;, &#039;;&#039;, &#039;asm&#039; or &#039;__attribute__&#039; before &#039;static&#039;
Do you know this problem?</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I did the same procedure in my Ubuntu PC. But agcc generate error<br />
/android-ndk-1.5_r1/build/prebuilt/linux-x86/arm-eabi-4.2.1/bin/../lib/gcc/arm-eabi/4.2.1/include/stdio.h:160: error: expected &#8216;=&#8217;, &#8216;,&#8217;, &#8216;;&#8217;, &#8216;asm&#8217; or &#8216;__attribute__&#8217; before &#8216;extern&#8217;<br />
/android-ndk-1.5_r1/build/prebuilt/linux-x86/arm-eabi-4.2.1/bin/../lib/gcc/arm-eabi/4.2.1/include/stdio.h:229: error: expected &#8216;=&#8217;, &#8216;,&#8217;, &#8216;;&#8217;, &#8216;asm&#8217; or &#8216;__attribute__&#8217; before &#8216;__BEGIN_DECLS&#8217;<br />
/android-ndk-1.5_r1/build/prebuilt/linux-x86/arm-eabi-4.2.1/bin/../lib/gcc/arm-eabi/4.2.1/include/stdio.h:377: error: expected &#8216;=&#8217;, &#8216;,&#8217;, &#8216;;&#8217;, &#8216;asm&#8217; or &#8216;__attribute__&#8217; before &#8216;__BEGIN_DECLS&#8217;<br />
/android-ndk-1.5_r1/build/prebuilt/linux-x86/arm-eabi-4.2.1/bin/../lib/gcc/arm-eabi/4.2.1/include/stdio.h:388: error: expected &#8216;=&#8217;, &#8216;,&#8217;, &#8216;;&#8217;, &#8216;asm&#8217; or &#8216;__attribute__&#8217; before &#8217;static&#8217;<br />
Do you know this problem?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
