Jean-Claude Gervais wrote:
> On Tue, 2007-11-06 at 15:19 -0500, Jason wrote:
>> 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>?
> 
> Yes, absolutely.
> 
>>   And set CHOST correctly?
> 
> You mean in /usr/arm-softfloat-linux-uclibc/etc/make.conf ?
> Yes.
> 
> The make.conf at that location is
> 
> ACCEPT_KEYWORDS="arm"
> ARCH="arm"
> 
> CFLAGS="-Os -pipe -mfloat-abi=softfp -mfpu=vfp"
> CHOST="arm-softfloat-linux-uclibc"
> CXXFLAGS="${CFLAGS}"
> GENTOO_MIRRORS="http://open-systems.ufl.edu/mirrors/gentoo
> http://prometheus.cs.wmich.edu/gentoo http://mirror.datapipe.net/gentoo
> http://ftp.ucsb.edu/pub/m$
> INPUT_DEVICES="keyboard"
> MAKEOPTS="-j2"
> USE="minimal symlink"
> UCLIBC_CPU="ARM920T"
> 

Okay, I suspect you fixed the error you were getting before
(configure:1286: result: i686-softfloat-linux-uclibc), so let's take a
look at the config.log again and see what's tripping it up this time.

thx,

Jason.

-- 
[EMAIL PROTECTED] mailing list

Reply via email to