Christopher Friedt schrieb: > 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)? > well while working on it i thought it would be cool to cross-compile it myself. In the end i actually installed a binary version because i was not able to get it to work. I have to say tho that cross-compiling python was not such a problem i had to fiddle around a lil, but it was WAYS easier than perl. > There are binary packages available through a link here: > > http://wiki.openmoko.org/wiki/Gentoo > Yep that's where i actually got it > 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? My guess is that it would take ages.... Well as i said i emerged a binary package of perl and didn't bother myself with it any more. It would be cool tho if it would be easier to cross-compile, but what would life be without obstacles...
Cheers, Christoph > a long time. > > Cheers, > > Chris > > >
