1 |
-----BEGIN PGP SIGNED MESSAGE----- |
2 |
Hash: SHA1 |
3 |
|
4 |
Moin, |
5 |
|
6 |
ich versuche gerade mit Hilfe von crossdev die glibc für ARM zu |
7 |
kompilieren. Also mit "crossdev armeb-softfloat-linux-gnu" eine |
8 |
vollständige Toolchain gebaut. |
9 |
|
10 |
Dann habe ich nach Anleitungen dazu wie man nun mit diesem |
11 |
Cross-Compiler arbeitet, d.h. etwas per emerge kompiliert und dann auf |
12 |
dem Zielsystem merged, gesucht. Dazu habe ich diese Anleitung gefunden |
13 |
und dann angepasst: |
14 |
|
15 |
http://www.sable.mcgill.ca/~dbelan2/crossdev/cross-compiling-sablevm.txt |
16 |
|
17 |
Mein Befehl lautet: |
18 |
|
19 |
CFLAGS="-march=armv5t -Os" CHOST="armeb-softfloat-linux-gnu" \ |
20 |
CXXFLAGS="-march=armv5t -Os" emerge -B sys-libs/glibc |
21 |
|
22 |
Allerdings bricht die Kompilierung noch beim configure ab: |
23 |
|
24 |
checking size of long double... configure: error: cannot compute sizeof |
25 |
(long double), 77 |
26 |
|
27 |
Und die config.log enthält: |
28 |
|
29 |
configure:7128: checking size of long double |
30 |
configure:7447: armeb-softfloat-linux-gnu-gcc -o conftest -march=armv5t |
31 |
- -O2 conftest.c >&5 |
32 |
/usr/lib/gcc/armeb-softfloat-linux-gnu/3.4.5/../../../../armeb-softfloat-linux-gnu/bin/ld: |
33 |
cannot find /usr/armeb-softfloat-linux-gnu/lib/libc.so.6 inside |
34 |
/usr/armeb-softfloat-linux-gnu/binutils-bin/2.16.1/../../../armeb-softfloat-linux-gnu |
35 |
collect2: ld returned 1 exit status |
36 |
configure:7450: $? = 1 |
37 |
configure: program exited with status 1 |
38 |
configure: failed program was: |
39 |
[...] |
40 |
|
41 |
Die Datei existiert aber: |
42 |
# ls /usr/armeb-softfloat-linux-gnu/lib/libc.so.6 |
43 |
/usr/armeb-softfloat-linux-gnu/lib/libc.so.6 |
44 |
|
45 |
selbst als relativer Pfad "inside" |
46 |
/usr/armeb-softfloat-linux-gnu/binutils-bin/2.16.1/../../../armeb-softfloat-linux-gnu |
47 |
|
48 |
Habe ich etwas an dieser Fehlermeldung falsch verstanden? Das "inside |
49 |
/usr..." verwirrt mich etwas, weil ich nichts damit anzufangen weiß. |
50 |
Oder geht er von einem anderen Rootverzeichnis aus? Wenn welches? |
51 |
|
52 |
Und allgemein: Gibt es dazu wie man Cross-Compiling the gentoo-way |
53 |
(nicht distcc) vernünftig betreibt irgendwo ausführliche Dokumentation? |
54 |
|
55 |
Gruß |
56 |
Jan |
57 |
-----BEGIN PGP SIGNATURE----- |
58 |
Version: GnuPG v1.4.2.2 (GNU/Linux) |
59 |
|
60 |
iD8DBQFEIEo3vuM9o4Jvd/8RAraRAJ9fccIELhMUasEpL9dKKWpkYQoWbQCePnYv |
61 |
fHuAEuNh+MMoMTwhRwAShI8= |
62 |
=UNbC |
63 |
-----END PGP SIGNATURE----- |
64 |
|
65 |
-- |
66 |
gentoo-user-de@g.o mailing list |