[patch, spu] More flexible --with-sysroot to enable "common" PPU/SPU sysroot
Joseph S. Myers
joseph@codesourcery.com
Sat Nov 15 02:49:00 GMT 2008
On Fri, 14 Nov 2008, Ulrich Weigand wrote:
> I'd like to take this issue up again and propose a modified version of
> the patch. This version changes the SPU back-end to simply define
> the "native" install paths as "/include" and "/lib" -- just like the
> GNU target does, for example.
I don't think this is back-end-specific; I think such paths are
appropriate for all bare-metal targets where there isn't really a "native"
install. There's another use case for configuring such targets with
sysroots: if the path where you are installing parts of the (relocatable)
toolchain during building is a temporary path different from the
configured prefix, you can get a sysrooted compiler to find headers and
libraries in that temporary path using --with-build-sysroot, but there's
no equivalent option for non-sysroot configurations, and right now using a
sysroot configuration requires a usr -> . symlink while building the
toolchain.
--
Joseph S. Myers
joseph@codesourcery.com
More information about the Gcc-patches
mailing list