This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/40790] plugin-api.h unconditionally includes stdint.h
- From: "ro at techfak dot uni-bielefeld dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Oct 2009 13:24:11 -0000
- Subject: [Bug lto/40790] plugin-api.h unconditionally includes stdint.h
- References: <bug-40790-279@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #14 from ro at techfak dot uni-bielefeld dot de 2009-10-09 13:24 -------
Subject: Re: plugin-api.h unconditionally includes stdint.h
> ------- Comment #12 from joseph at codesourcery dot com 2009-10-09 12:58 -------
[...]
> > That would be no problem since AFAIK gold only supports ELF targets by
> > design, and Tru64 UNIX uses ECOFF. Not even GNU ld supports that anymore
> > (or the support has bitrotten to the point of being unusable).
>
> gold supports non-ELF hosts (or will once Andrew Pinski's MinGW host
> patches are in), and in due course should support plugins on such hosts.
Ok, but only as a cross-linker to ELF targets, I suppose?
> (I've no idea whether Tru64 has a dynamic loading interface making plugins
> on such a host possible at all, but if it has such an interface there is
> no reason in principle against someone adding support for plugins for a
> cross compiler and linker from Tru64 to an ELF target.)
Tru64 UNIX supports dlopen(3), so you should be set.
Rainer
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40790