1 |
Jean-Claude Gervais wrote: |
2 |
> On Tue, 2007-11-06 at 12:46 -0500, Jason wrote: |
3 |
>> Jean-Claude Gervais wrote: |
4 |
>>> Same problem, different environment: |
5 |
>>> |
6 |
>>> I produced a cross-development toolkit by using the following command: |
7 |
>>> |
8 |
>>> .-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- |
9 |
>>> SYSROOT="/usr/arm-softfloat-linux-uclibc" |
10 |
>>> |
11 |
>>> UCLIBC_CPU="ARM920T" USE="-*" crossdev -v -S --binutils 2.17 --gcc |
12 |
>>> 3.4.6-r2 --kernel 2.6.19-r2 --libc 0.9.28.3 --ex-gdb --target |
13 |
>>> arm-softfloat-linux-uclibc |
14 |
>>> .-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- |
15 |
>>> |
16 |
>>> This went well; all the required tools were built. |
17 |
>>> |
18 |
>>> But now when I try to use the (modified) xmerge script, I get the |
19 |
>>> "C compiler cannot create executables" error |
20 |
>> [snip] |
21 |
>>> configure:1225: checking build system type |
22 |
>>> configure:1243: result: i686-pc-linux-gnu |
23 |
>>> configure:1250: checking host system type |
24 |
>>> configure:1264: result: i686-softfloat-linux-uclibc |
25 |
>>> configure:1272: checking target system type |
26 |
>>> configure:1286: result: i686-softfloat-linux-uclibc |
27 |
>> This doesn't look right. Did you setup ${SYSROOT}/etc/make.conf and |
28 |
>> ${SYSROOT}/etc/make.profile ? |
29 |
> |
30 |
> I think I did; here is the contents of |
31 |
> /usr/arm-softfloat-linux-uclibc/etc/make.conf |
32 |
> |
33 |
> .-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- |
34 |
> ACCEPT_KEYWORDS="arm" |
35 |
> ARCH="arm" |
36 |
> |
37 |
> CFLAGS="-Os -pipe -mfloat-abi=softfp -mfpu=vfp" |
38 |
> CHOST="i686-softfloat-linux-uclibc" |
39 |
|
40 |
This line should be: |
41 |
CHOST="arm-softfloat-linux-uclibc" |
42 |
|
43 |
hth, |
44 |
|
45 |
Jason. |
46 |
-- |
47 |
gentoo-embedded@g.o mailing list |