On Tue, 27 Nov 2007, Bernd Schmidt wrote: > We have two uses for the bfin-elf compiler - building standalone > applications, and bootstrapping uClibc for > bfin-uclinux/bfin-linux-uclibc. For the latter, we need -mfdpic and > -mid-shared-library multilibs, to at least get a libgcc. This always > worked since what is now "-msim" was default behaviour, but it started > to fail the libstdc++ configury once Jie changed that to use > target-specific linker scripts.
When you are building a compiler to bootstrap libc, with a view to building a later full toolchain using that libc, the bootstrap compiler should be C-only (and have most of the other runtime libraries apart from libgcc disabled), so you only build libstdc++ after you have a libc. The only exception would be if your libc contains C++ code and depends on libstdc++ - I think this has been mentioned as an issue for Cygwin. -- Joseph S. Myers [EMAIL PROTECTED]