Jean-Claude Gervais wrote:
> On Tue, 2007-11-06 at 12:46 -0500, Jason wrote:
>> Jean-Claude Gervais wrote:
>>> Same problem, different environment:
>>>
>>> I produced a cross-development toolkit by using the following command:
>>>
>>> .-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
>>> SYSROOT="/usr/arm-softfloat-linux-uclibc"
>>>
>>> UCLIBC_CPU="ARM920T" USE="-*" crossdev -v -S --binutils 2.17 --gcc
>>> 3.4.6-r2 --kernel 2.6.19-r2 --libc 0.9.28.3 --ex-gdb --target
>>> arm-softfloat-linux-uclibc
>>> .-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
>>>
>>> This went well; all the required tools were built.
>>>
>>> But now when I try to use the (modified) xmerge script, I get the
>>> "C compiler cannot create executables" error
>> [snip]
>>> configure:1225: checking build system type
>>> configure:1243: result: i686-pc-linux-gnu
>>> configure:1250: checking host system type
>>> configure:1264: result: i686-softfloat-linux-uclibc
>>> configure:1272: checking target system type
>>> configure:1286: result: i686-softfloat-linux-uclibc
>> This doesn't look right. Did you setup ${SYSROOT}/etc/make.conf and
>> ${SYSROOT}/etc/make.profile ?
>
> I think I did; here is the contents of
> /usr/arm-softfloat-linux-uclibc/etc/make.conf
>
> .-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
> ACCEPT_KEYWORDS="arm"
> ARCH="arm"
>
> CFLAGS="-Os -pipe -mfloat-abi=softfp -mfpu=vfp"
> CHOST="i686-softfloat-linux-uclibc"
This line should be:
CHOST="arm-softfloat-linux-uclibc"
hth,
Jason.
--
[EMAIL PROTECTED] mailing list