1 |
On Tue, 2007-11-06 at 12:46 -0500, Jason wrote: |
2 |
> Jean-Claude Gervais wrote: |
3 |
> > Same problem, different environment: |
4 |
> > |
5 |
> > I produced a cross-development toolkit by using the following command: |
6 |
> > |
7 |
> > .-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- |
8 |
> > SYSROOT="/usr/arm-softfloat-linux-uclibc" |
9 |
> > |
10 |
> > UCLIBC_CPU="ARM920T" USE="-*" crossdev -v -S --binutils 2.17 --gcc |
11 |
> > 3.4.6-r2 --kernel 2.6.19-r2 --libc 0.9.28.3 --ex-gdb --target |
12 |
> > arm-softfloat-linux-uclibc |
13 |
> > .-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- |
14 |
> > |
15 |
> > This went well; all the required tools were built. |
16 |
> > |
17 |
> > But now when I try to use the (modified) xmerge script, I get the |
18 |
> > "C compiler cannot create executables" error |
19 |
> [snip] |
20 |
> > configure:1225: checking build system type |
21 |
> > configure:1243: result: i686-pc-linux-gnu |
22 |
> > configure:1250: checking host system type |
23 |
> > configure:1264: result: i686-softfloat-linux-uclibc |
24 |
> > configure:1272: checking target system type |
25 |
> > configure:1286: result: i686-softfloat-linux-uclibc |
26 |
> |
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 |
CXXFLAGS="${CFLAGS}" |
40 |
#GENTOO_MIRRORS="http://open-systems.ufl.edu/mirrors/gentoo |
41 |
http://prometheus.cs.wmich.edu/gentoo http://mirror.datapipe.net/gentoo |
42 |
http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/" |
43 |
INPUT_DEVICES="keyboard" |
44 |
MAKEOPTS="-j2" |
45 |
USE="minimal symlink" |
46 |
UCLIBC_CPU="ARM920T" |
47 |
|
48 |
.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- |
49 |
|
50 |
|
51 |
-- |
52 |
gentoo-embedded@g.o mailing list |