1 |
Christopher Friedt schrieb: |
2 |
> Perl is a real PITA to cross-compile. I would almost suggest that you |
3 |
> don't bother... I have the same sentiment for more recent Python |
4 |
> versions too. |
5 |
> |
6 |
> Is there something specific that you need to compile perl from stratch |
7 |
> for? Can you just use an older version that does potentially |
8 |
> cross-compile? Would you be happy just installing a binary package |
9 |
> into your SYSROOT (i.e. /usr/armv4t-softfloat-linux-gnueabi)? |
10 |
> |
11 |
well while working on it i thought it would be cool to cross-compile it |
12 |
myself. In the end i actually installed a binary version because i was |
13 |
not able to get it to work. I have to say tho that cross-compiling |
14 |
python was not such a problem i had to fiddle around a lil, but it was |
15 |
WAYS easier than perl. |
16 |
> There are binary packages available through a link here: |
17 |
> |
18 |
> http://wiki.openmoko.org/wiki/Gentoo |
19 |
> |
20 |
Yep that's where i actually got it |
21 |
> If you absolutely need to compile it, then why don't you just set up a |
22 |
> native compilation environment? Cross-compile gcc, portage, etc for |
23 |
> armv4t, and any other dependencies of perl, and then boot the |
24 |
> FreeRunner from your new kernel into a root filesystem that you've |
25 |
> populated with all of the previous binary packages you've compiled. |
26 |
> Then you should be able to 'emerge perl', although it will likely take |
27 |
> |
28 |
A long time? My guess is that it would take ages.... Well as i said i |
29 |
emerged a binary package of perl and didn't bother myself with it any |
30 |
more. It would be cool tho if it would be easier to cross-compile, but |
31 |
what would life be without obstacles... |
32 |
|
33 |
Cheers, |
34 |
|
35 |
Christoph |
36 |
> a long time. |
37 |
> |
38 |
> Cheers, |
39 |
> |
40 |
> Chris |
41 |
> |
42 |
> |
43 |
> |