1 |
Corey wrote: |
2 |
> Ok, well - after much effort, it looks like I'm just not going to be successful |
3 |
> cross compiling perl. |
4 |
> |
5 |
> So I decided on a new strategy: I'd compile perl manually while chroot'd |
6 |
> into my minimal uclibc-based gentoo partition. However, things go fine |
7 |
> until the make process dies with the following: |
8 |
> |
9 |
> "/usr/lib/gcc/i686-pc-linux-uclibc/4.1.1/../../../../i686-pc-linux-uclibc/bin/ld: cannot find -lgcc_s" |
10 |
> |
11 |
> Well, this is highly annoying, because I do in fact have libgcc_s.so.1: |
12 |
> |
13 |
> scanner lib # pwd |
14 |
> /usr/i686-pc-linux-uclibc/lib |
15 |
> scanner lib # ls -l libgcc_s* |
16 |
> -rwxr-xr-x 1 root root 34980 Nov 20 03:51 libgcc_s.so |
17 |
> -rwxr-xr-x 1 root root 34980 Nov 20 03:51 libgcc_s.so.1 |
18 |
> scanner lib # readelf -d libgcc_s.so.1 |
19 |
> |
20 |
> Dynamic section at offset 0x7834 contains 21 entries: |
21 |
> Tag Type Name/Value |
22 |
> 0x00000001 (NEEDED) Shared library: [libc.so.0] |
23 |
> 0x0000000e (SONAME) Library soname: [libgcc_s.so.1] |
24 |
> |
25 |
> |
26 |
> I even went and copied thos libgcc_s.so* into every lib directory |
27 |
> I could think of, but it keeps complaining nonetheless. I'm really |
28 |
> stumped here - why is it saying it can't find it? |
29 |
> |
30 |
> |
31 |
> Thanks |
32 |
> |
33 |
There are some gotchas with cross-compiling Perl, but there is something |
34 |
called "microperl" which is small enough to cross-compile. |
35 |
|
36 |
-- |
37 |
M. Edward (Ed) Borasky, FBG, AB, PTA, PGS, MS, MNLP, NST, ACMC(P) |
38 |
http://borasky-research.blogspot.com/ |
39 |
|
40 |
If God had meant for carrots to be eaten cooked, He would have given rabbits fire. |
41 |
|
42 |
-- |
43 |
gentoo-embedded@g.o mailing list |