1 |
2009/6/15 Stephen Feyrer <steve@××××××××.uk>: |
2 |
> ./configure runs happily and takes the arguments set to tell the system |
3 |
> to cross compile but all I get is X86_64 binaries. |
4 |
|
5 |
Either the package you are building has a bug in the build system and |
6 |
calls gcc instead of $CC or your cross-compiler is screwed up. You can |
7 |
test the compile doing the following: |
8 |
|
9 |
cd /tmp && echo "int main(void) { return 0; }" >> test.c && |
10 |
armv5tel-softfloat-linux-gnueabi-gcc -o test test.c && file test |
11 |
|
12 |
Check if the file that is built by the compiler is an arm binary. If |
13 |
this is the case, check if |
14 |
|
15 |
emerge-armv5tel-softfloat-linux-gnueabi --root-deps=rdeps <package> |
16 |
|
17 |
works. If this does not work, try to dig into the autoconf/automake |
18 |
code of the package and find the point where the wrong compiler is |
19 |
used (you should probably see this in the build.log). |
20 |
|
21 |
Best regards and good luck! ;-) |
22 |
|
23 |
Sven |