blackfin toolchain build question

Carmelo AMOROSO carmelo.amoroso at
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://
>>> 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,
../configure --target=sh4-linux-uclibc 
--includedir=        /opt/STM/STLinux-2.3/devkit/sh4_uclibc/include 
--libexecdir=/opt/STM/STL        inux-2.3/devkit/sh4_uclibc/libexec 
--sharedstatedir=/opt/STM/STLi        nux-2.3/devkit/sh4_uclibc/share 
--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        

nothing special

> and also full configure command line which you use?
> Do you set some special CFLAGS etc?
> --
> vda

More information about the uClibc mailing list