Hi Tim, You may have already gotten past this point, but in order to start building packages for the OpenMoko, the right place to start off with is a cross-compiler.
I have a cross-compiler pre-built for i686, which you can install with: PORTAGE_BINHOST=http://vaiprime.visibleassets.com/~cfriedt/toolchains/i686-pc-linux-gnu/arm-softfloat-linux-gnueabi/All \ emerge -avG1 cross-arm-softfloat-linux-gnueabi/{binutils,linux-headers,gcc,glibc} You should then emerge sys-devel/crossdev-wrapper Remember to set FEATURES="buildpkg" in /usr/arm-softfloat-linux-gnueabi/etc/make.conf so that whenever you build something, the binary tbz2 package is created as well. Also, if you are going to cross-compile glibc, then use the -B argument to emerge, otherwise it will overwrite your cross-toolchain libc in /usr/arm-softfloat-linux-gnueabi. Cheers, Chris On Wed, Dec 10, 2008 at 8:49 AM, Sven 'sleipnir' Rebhan <[email protected]> wrote: > Hello Tim, > > a few people (including me) started a cross-compile overlay for the > openmoko phone. > The overlay can be found here: http://projects.openmoko.org/projects/gentoo > > The goal of our project is to fix cross-compile problems of ebuilds > and feed back those fixes to the portage tree... Feel free to report > bugs, problems, documentation ;-), fixes or new ebuilds there! > > Best regards, > > Sven > >
