This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: gengtype plugin improvement last4round -patch 7 [install]
On Thu, 25 Nov 2010 22:20:40 +0000 (UTC)
"Joseph S. Myers" <joseph@codesourcery.com> wrote:
> On Thu, 25 Nov 2010, Basile Starynkevitch wrote:
>
> > +# Additional build executables to be installed.
> > +ADDITIONAL_BUILD_PROGRAMS= build/gengtype$(build_exeext)
>
> It is definitely wrong to install anything built for the build system.
> Anything installed in libexecsubdir should be built for the host, not the
> build system.
Ok, but what do you suggest instead?
At least in the usual straight (= non cross-compiler) case, gengtype is becoming a user visible program of GCC, since users coding plugins need it.
How and how should it be installed, at least in that case?
--
Basile STARYNKEVITCH http://starynkevitch.net/Basile/
email: basile<at>starynkevitch<dot>net mobile: +33 6 8501 2359
8, rue de la Faiencerie, 92340 Bourg La Reine, France
*** opinions {are only mine, sont seulement les miennes} ***