Difference between revisions of "Gentoo NDK"

From WebOS Internals
Jump to navigation Jump to search
Line 1: Line 1:
 
Building a Palm Pre compatible (armv7) cross-toolchain is as easy as running:
 
Building a Palm Pre compatible (armv7) cross-toolchain is as easy as running:
 
<source lang="bash">
 
<source lang="bash">
 +
echo "sys-devel/crossdev **" >> /etc/portage/package.keywords
 
emerge crossdev
 
emerge crossdev
crossdev -t armv7a-softfloat-linux-gnueabi
+
crossdev -t arm-none-linux-gnueabi --libc 2.6.1 --gcc 4.3.4 --binutils 2.18
 
</source>
 
</source>
 
Seems like gcc 4.4.0, binutils 2.19 and glibc 2.9 are compatible with the Pre userland.
 

Revision as of 02:06, 7 November 2010

Building a Palm Pre compatible (armv7) cross-toolchain is as easy as running: <source lang="bash"> echo "sys-devel/crossdev **" >> /etc/portage/package.keywords emerge crossdev crossdev -t arm-none-linux-gnueabi --libc 2.6.1 --gcc 4.3.4 --binutils 2.18 </source>