blackfin toolchain build question
Carmelo AMOROSO
carmelo.amoroso at st.com
Tue Jun 3 13:14:06 UTC 2008
Denys Vlasenko wrote:
> On Tuesday 03 June 2008 09:46, Carmelo AMOROSO wrote:
>
>>> I successfully built bfin-linux-uclibc toolchain
>>> (binutils+gcc) using binutils and gcc trees from
>>> svn://firewall-sources.blackfin.uclinux.org:80/svn/toolchain/trunk
>>>
>>> I already had quite a few toolchains on my machine
>>> and I have a preferred way to build one.
>>>
>>> Therefore I did not use canned scripts from svn
>>> but followed my own procedure, as a more familiar one for me.
>>>
>>> Basically, it involves building cross-compiled binutils,
>>> installing it, then building and installing gcc,
>>> then doing the same for libc.
>>> Trying to build gcc doesn't work, it needs usable $TARGET-ld.
>>>
>>> I observed the following peculiarity: binutils apparently
>>> tried to build newlib, and that requires $TARGET-cc!
>>>
>>>
>>>
>>>
>> Hi Denys,
>> cross-binutils can be built from scratch without requiring any
>> TARGET-xxx tools,
>> while cross-gcc needs proper cross-binutils.
>> So probably you are misconfiguring bintuils... os something strange is
>> happening.
>> I never had problem with this, and I don't use buildroot.
>>
>
> Are you building blackfin toolchain(s) too?
>
Hi Denis,
sorry for incomplete reply.. I use only sh4.
> Can you let me know exact version of binutils you use,
>
Version:2.18.50.0.6
../configure --target=sh4-linux-uclibc
--prefix=/opt/STM/STLinux-2.3/devkit/sh4_uclibc
--exec-prefix=/opt/STM/STLinux-2.3/devkit/sh4_uclibc
--bindir=/opt/STM/STLinux-2.3/devkit/sh4_uclibc/bin
--sbindir=/opt/STM/STLinux-2.3/devkit/sh4_uclibc/sbin
--sysconfdir=/opt/STM/STLinux-2.3/devkit/sh4_uclibc/etc
--datadir=/opt/STM/STLinux-2.3/devkit/sh4_uclibc/share
--includedir= /opt/STM/STLinux-2.3/devkit/sh4_uclibc/include
--libdir=/opt/STM/STLinux-2.3/devkit/sh4_uclibc/lib
--libexecdir=/opt/STM/STL inux-2.3/devkit/sh4_uclibc/libexec
--localstatedir=/opt/STM/STLinux-2.3/devkit/sh4_uclibc/var
--sharedstatedir=/opt/STM/STLi nux-2.3/devkit/sh4_uclibc/share
--mandir=/opt/STM/STLinux-2.3/devkit/sh4_uclibc/man
--infodir=/opt/STM/STLinux-2.3/devkit/sh 4_uclibc/info
--enable-nls --disable-multilib --program-prefix=sh4-linux-uclibc-
--enable-install-libbfd --with-sysroot=/opt
/STM/STLinux-2.3/devkit/sh4_uclibc/target
nothing special
Carmelo
> and also full configure command line which you use?
> Do you set some special CFLAGS etc?
> --
> vda
>
>
More information about the uClibc
mailing list