Rask Ingemann Lambertsen wrote:
On Tue, Sep 18, 2007 at 07:55:45PM +0800, Jie Zhang wrote:
libstdc++ tries to avoid link tests when configured with newlib. But I
saw this when working on bfin port gcc:

From config.log:
/home/rask/build/gcc-bfin-unknown-elf/gcc/../ld/ld-new:
cannot open linker script file bf532.ld: No such file or directory

$ grep -F -e bf532.ld gcc/config/bfin/*
gcc/config/bfin/elf.h:%{!T*:%{!msim:%{mcpu=bf531:-Tbf531.ld}%{mcpu=bf532:-Tbf532.ld}
 \
gcc/config/bfin/elf.h:        %{!mcpu=*:-Tbf532.ld}}}"

The file bf532.ld is nowhere to be found in gcc or newlib/libgloss.

I have not pushed out our recent newlib/libgloss changes to upstream yet. Currently you could get latest blackfin port newlib/libgloss from

http://blackfin.uclinux.org/gf/project/toolchain/scmsvn

But if it cannot find bf532.ld, it should avoid further link tests.


Jie

Reply via email to