This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [build] Move unwinder to toplevel libgcc (v2)
- From: Rainer Orth <ro at CeBiTec dot Uni-Bielefeld dot DE>
- To: "Joseph S. Myers" <joseph at codesourcery dot com>
- Cc: Paolo Bonzini <bonzini at gnu dot org>, Pedro Alves <pedro at codesourcery dot com>, gcc-patches at gcc dot gnu dot org, Ralf Wildenhues <Ralf dot Wildenhues at gmx dot de>, Ian Lance Taylor <iant at google dot com>, Steve Ellcey <sje at cup dot hp dot com>, Richard Earnshaw <richard dot earnshaw at arm dot com>, Ramana Radhakrishnan <ramana dot radhakrishnan at arm dot com>, Nick Clifton <nickc at redhat dot com>, Douglas Rupp <rupp at gnat dot com>, Tristan Gingold <gingold at adacore dot com>, Mike Stump <mikestump at comcast dot net>, Kaz Kojima <kkojima at gcc dot gnu dot org>, David Edelsohn <dje dot gcc at gmail dot com>, Sterling Augustine <augustine dot sterling at gmail dot com>, Arnaud Charlet <charlet at adacore dot com>, java-patches at gcc dot gnu dot org, Nicola Pero <nicola dot pero at meta-innovation dot com>, libstdc++ at gcc dot gnu dot org, Richard Sandiford <rdsandiford at googlemail dot com>
- Date: Thu, 11 Aug 2011 16:41:47 +0200
- Subject: Re: [build] Move unwinder to toplevel libgcc (v2)
- References: <ydd1ux2oc1u.fsf@manam.CeBiTec.Uni-Bielefeld.DE> <4E42AACB.2080802@gnu.org> <yddfwl9l0az.fsf@manam.CeBiTec.Uni-Bielefeld.DE> <201108101750.43530.pedro@codesourcery.com> <4E43C318.4050401@gnu.org> <ydd7h6kkva3.fsf@manam.CeBiTec.Uni-Bielefeld.DE> <Pine.LNX.4.64.1108111423510.15713@digraph.polyomino.org.uk>
"Joseph S. Myers" <joseph@codesourcery.com> writes:
> On Thu, 11 Aug 2011, Rainer Orth wrote:
>
>> The actual problem are not the runtime libraries, which already know to
>> search $builddir/.../libgcc for unwind.h and related files. The
>> copyback is only for the benefit of the testsuite (gcc.target, g++.dg,
>> gnat.dg, and gcc.dg) where I was too lazy to deal with changing (or even
>> setting ) the include paths, but took the easy way out since gcc/include
>> is in the include path by default.
>
> unwind.h is an installed header. Are you sure nothing outside of GCC uses
> it?
No, I'm not. On the contrary, the patch that started to install it
http://gcc.gnu.org/ml/gcc-patches/2003-02/msg01653.html
strongly suggests that it should stay this way. If the backcopy is
removed some day, once testsuite users have been adapted, it has to be
added to the libgcc install target.
Rainer
--
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University