Jean-Claude Gervais wrote:
> On Tue, 2007-11-06 at 13:11 -0500, Jason wrote:
>> 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"
>
> OK, I changed that line, performed a
> crossdev -C arm-softfloat-linux-uclibc
>
> And then re-ran the toolchain build procedure I am using;
judging by your initial ncurses build error, you haven't successfully
xmerge'd anything into SYSROOT, so all you had to do was change CHOST in
${SYSROOT}/etc/make.conf, then try xmerge ncurses again.
> 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
crossdev doesn't use SYSROOT, it creates it. So there is no need to set it.
> Which concluded with no errors.
>
> However, when I run any xmerge, I still get the same error
> "C compiler cannot create executables"
Did you repeat Section 3 of the cross-development guide after blowing
away SYSROOT with crossdev -C <target>? And set CHOST correctly?
hth,
Jason.
--
[EMAIL PROTECTED] mailing list