Joseph S. Myers writes:
> > Unfortunately, gold doesn't even build on non-Linux targets: see PR
> > gold/7024.
>
> That actually appears to be a list of issues with non-Linux hosts, not
> non-Linux targets.
Right, I had ignored non-native builds since I rarely do them.
> 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'll give it a try, although at least on Solaris and IRIX there is a
conflict with the native libelf. I haven't yet checked if the interfaces
are the same, but I suppose not.
Rainer
-----------------------------------------------------------------------------
Rainer Orth, Faculty of Technology, Bielefeld University