This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [lto][patch] Add a symbol table
On Tue, 19 Aug 2008, Diego Novillo wrote:
> On 8/19/08 6:32 AM, Rafael Espindola wrote:
>
> > +/* FIXME: These enums should come from some header that is shared with the
> > + plugin. */
>
> I guess this header file should be part of the installed runtime, but I don't
> really have a good suggestion on where it should go. Perhaps where the
> fixincludes headers go? Or maybe we should have a liblto directory. I think
> this may be a good way to go.
My understanding is that this header would be a host header, not a target
one, describing an interface used by host code rather than target code, so
it should not be installed in a target header directory. Thus the natural
model would be where the BFD headers go with --enable-install-libbfd,
which is $(includedir) for native and
$(exec_prefix)/$(host_noncanonical)/$(target_noncanonical)/include for
cross. If these headers do not in fact depend on the host or on the
target (the BFD headers do) and there isn't an accompanying host library
then the path could be simplified - but it shouldn't be a target include
directory in any case.
--
Joseph S. Myers
joseph@codesourcery.com