Perl is a real PITA to cross-compile. I would almost suggest that you
don't bother... I have the same sentiment for more recent Python
versions too.

Is there something specific that you need to compile perl from stratch
for? Can you just use an older version that does potentially
cross-compile? Would you be happy just installing a binary package
into your SYSROOT (i.e. /usr/armv4t-softfloat-linux-gnueabi)?

There are binary packages available through a link here:

http://wiki.openmoko.org/wiki/Gentoo

If you absolutely need to compile it, then why don't you just set up a
native compilation environment? Cross-compile gcc, portage, etc for
armv4t, and any other dependencies of perl, and then boot the
FreeRunner from your new kernel into a root filesystem that you've
populated with all of the previous binary packages you've compiled.
Then you should be able to 'emerge perl', although it will likely take
a long time.

Cheers,

Chris

Reply via email to