<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.webos-internals.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Divilis</id>
	<title>WebOS Internals - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.webos-internals.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Divilis"/>
	<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/wiki/Special:Contributions/Divilis"/>
	<updated>2026-05-13T20:55:28Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.35.1</generator>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=Gentoo_NDK&amp;diff=21769</id>
		<title>Gentoo NDK</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=Gentoo_NDK&amp;diff=21769"/>
		<updated>2012-05-28T06:00:07Z</updated>

		<summary type="html">&lt;p&gt;Divilis: /* Troubleshooting */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Install the latest version (sys-devel/crossdev-99999999) of crossdev:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
echo 'sys-devel/crossdev **' &amp;gt;&amp;gt; /etc/portage/package.keywords&lt;br /&gt;
emerge crossdev&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Setup some overlays for crossdev to write to and add PuffTheMagic's special overlay of custom ebuilds:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
mkdir /usr/local/portage&lt;br /&gt;
git clone git://git.webos-internals.org/puffthemagic/portage-overlay.git /usr/local/puff&lt;br /&gt;
echo 'PORTDIR_OVERLAY=&amp;quot;/usr/local/portage /usr/local/puff ${PORTDIR_OVERLAY}&amp;quot;' &amp;gt;&amp;gt; /etc/make.conf&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Building your toolchain (works for apps and kernels):&lt;br /&gt;
&lt;br /&gt;
It's reported that you should '''NOT''' use ''GNU make'' newer than '''version 3.81''' to compile the toolchain by User:Divilis[http://www.webos-internals.org/wiki/User:Divilis]. Reference[http://old.nabble.com/%22mixed-implicit-and-normal-rules%22-td29471694.html]&lt;br /&gt;
&lt;br /&gt;
If you are using the GNU make 3.82, you should temporarily downgrade it with this command:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
emerge -av =sys-devel/make-3.81&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you are already using GNU make 3.81, just continuous:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
crossdev -t arm-none-linux-gnueabi --libc 2.6.1 --gcc 4.3.3-r2 --binutils 2.19.1-r1 --kernel 2.6.23-r3&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once the toolchain is built run the following command:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
emerge-wrapper --init&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
This will setup '/usr/arm-none-linux-gnueabi' as your staging directory.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Mask some packages so that you compile against the proper versions:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
echo '&amp;gt;=sys-libs/zlib-1.2.4' &amp;gt;&amp;gt; /usr/arm-none-linux-gnueabi/etc/portage/package.mask&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
''empty''&lt;/div&gt;</summary>
		<author><name>Divilis</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=Gentoo_NDK&amp;diff=21767</id>
		<title>Gentoo NDK</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=Gentoo_NDK&amp;diff=21767"/>
		<updated>2012-05-28T05:59:45Z</updated>

		<summary type="html">&lt;p&gt;Divilis: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Install the latest version (sys-devel/crossdev-99999999) of crossdev:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
echo 'sys-devel/crossdev **' &amp;gt;&amp;gt; /etc/portage/package.keywords&lt;br /&gt;
emerge crossdev&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Setup some overlays for crossdev to write to and add PuffTheMagic's special overlay of custom ebuilds:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
mkdir /usr/local/portage&lt;br /&gt;
git clone git://git.webos-internals.org/puffthemagic/portage-overlay.git /usr/local/puff&lt;br /&gt;
echo 'PORTDIR_OVERLAY=&amp;quot;/usr/local/portage /usr/local/puff ${PORTDIR_OVERLAY}&amp;quot;' &amp;gt;&amp;gt; /etc/make.conf&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Building your toolchain (works for apps and kernels):&lt;br /&gt;
&lt;br /&gt;
It's reported that you should '''NOT''' use ''GNU make'' newer than '''version 3.81''' to compile the toolchain by User:Divilis[http://www.webos-internals.org/wiki/User:Divilis]. Reference[http://old.nabble.com/%22mixed-implicit-and-normal-rules%22-td29471694.html]&lt;br /&gt;
&lt;br /&gt;
If you are using the GNU make 3.82, you should temporarily downgrade it with this command:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
emerge -av =sys-devel/make-3.81&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you are already using GNU make 3.81, just continuous:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
crossdev -t arm-none-linux-gnueabi --libc 2.6.1 --gcc 4.3.3-r2 --binutils 2.19.1-r1 --kernel 2.6.23-r3&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once the toolchain is built run the following command:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
emerge-wrapper --init&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
This will setup '/usr/arm-none-linux-gnueabi' as your staging directory.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Mask some packages so that you compile against the proper versions:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
echo '&amp;gt;=sys-libs/zlib-1.2.4' &amp;gt;&amp;gt; /usr/arm-none-linux-gnueabi/etc/portage/package.mask&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
empty&lt;/div&gt;</summary>
		<author><name>Divilis</name></author>
	</entry>
</feed>