1 |
On Tue, 2007-11-06 at 13:11 -0500, Jason wrote: |
2 |
> Jean-Claude Gervais wrote: |
3 |
> > On Tue, 2007-11-06 at 12:46 -0500, Jason wrote: |
4 |
> >> Jean-Claude Gervais wrote: |
5 |
> >>> Same problem, different environment: |
6 |
> >>> |
7 |
> >>> I produced a cross-development toolkit by using the following command: |
8 |
> >>> |
9 |
> >>> .-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- |
10 |
> >>> SYSROOT="/usr/arm-softfloat-linux-uclibc" |
11 |
> >>> |
12 |
> >>> UCLIBC_CPU="ARM920T" USE="-*" crossdev -v -S --binutils 2.17 --gcc |
13 |
> >>> 3.4.6-r2 --kernel 2.6.19-r2 --libc 0.9.28.3 --ex-gdb --target |
14 |
> >>> arm-softfloat-linux-uclibc |
15 |
> >>> .-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- |
16 |
> >>> |
17 |
> >>> This went well; all the required tools were built. |
18 |
> >>> |
19 |
> >>> But now when I try to use the (modified) xmerge script, I get the |
20 |
> >>> "C compiler cannot create executables" error |
21 |
> >> [snip] |
22 |
> >>> configure:1225: checking build system type |
23 |
> >>> configure:1243: result: i686-pc-linux-gnu |
24 |
> >>> configure:1250: checking host system type |
25 |
> >>> configure:1264: result: i686-softfloat-linux-uclibc |
26 |
> >>> configure:1272: checking target system type |
27 |
> >>> configure:1286: result: i686-softfloat-linux-uclibc |
28 |
> >> This doesn't look right. Did you setup ${SYSROOT}/etc/make.conf and |
29 |
> >> ${SYSROOT}/etc/make.profile ? |
30 |
> > |
31 |
> > I think I did; here is the contents of |
32 |
> > /usr/arm-softfloat-linux-uclibc/etc/make.conf |
33 |
> > |
34 |
> > .-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- |
35 |
> > ACCEPT_KEYWORDS="arm" |
36 |
> > ARCH="arm" |
37 |
> > |
38 |
> > CFLAGS="-Os -pipe -mfloat-abi=softfp -mfpu=vfp" |
39 |
> > CHOST="i686-softfloat-linux-uclibc" |
40 |
> |
41 |
> This line should be: |
42 |
> CHOST="arm-softfloat-linux-uclibc" |
43 |
|
44 |
OK, I changed that line, performed a |
45 |
crossdev -C arm-softfloat-linux-uclibc |
46 |
|
47 |
And then re-ran the toolchain build procedure I am using; |
48 |
|
49 |
SYSROOT="/usr/arm-softfloat-linux-uclibc" |
50 |
|
51 |
UCLIBC_CPU="ARM920T" USE="-*" crossdev -v -S --binutils 2.17 --gcc |
52 |
3.4.6-r2 --kernel 2.6.19-r2 --libc 0.9.28.3 --ex-gdb --target |
53 |
arm-softfloat-linux-uclibc |
54 |
|
55 |
Which concluded with no errors. |
56 |
|
57 |
However, when I run any xmerge, I still get the same error |
58 |
"C compiler cannot create executables" |
59 |
|
60 |
I have no idea what I am missing, surely something small, but I am |
61 |
clueless. |
62 |
|
63 |
Thanks. |
64 |
|
65 |
|
66 |
|
67 |
-- |
68 |
gentoo-embedded@g.o mailing list |