On Wed, Jan 28, 2009 at 08:18, Joseph S. Myers <jos...@codesourcery.com> wrote:
> I would certainly hope both LTO and gold should work on a wide range of > non-Linux hosts (if anyone cares to contribute patches for such support), > including non-ELF hosts, even though restricted to ELF targets at least in > the case of gold. libelf definitely works on MinGW and Solaris hosts. I will update the wiki with clarification on this issue. To reiterate: - LTO functionality does not depend on the linker. We only take advantage of gold and its plugin to pull objects out of .a files. - LTO does depend on ELF. It would be nice to support non-ELF targets but it's not in our immediate plans. Diego.