This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] libgomp and libssp don't need to install gcc first
On Sun, 25 Feb 2007, Eric Christopher wrote:
> On Feb 23, 2007, at 8:56 PM, Daniel Jacobowitz wrote:
> > There is a bit more complexity involved here than just not erasing the
> > directory - IIRC it may contain stale fixed headers. Yet another
> > reason to separate the headers for GCC-supplied libraries from fixed
> > system headers.
>
> Agreed, though I'm not really sure how we'd want to do that. I'm willing
> to implement it if someone can tell me how we'd like to do it.
I'm currently testing a patch to put the fixed headers in a separate
directory libsubdir/include-fixed alongside libsubdir/include for the
GCC-provided headers. This has other advantages including the mkheaders
script for regenerating fixed headers after installing a package built on
another system working properly (at present, it will delete everything in
libsubdir/include, but not put back headers from runtime libraries).
--
Joseph S. Myers
joseph@codesourcery.com