Re: [RFC] improving support for building native tools in cross setups

Jack Kelly <[email protected]>
Newsgroups gmane.comp.sysutils.automake.patches
Message-ID <[email protected]>
Yann Dirson <[email protected]> writes:
> It is not uncommon for software packages to build tools to be executed
> at build time, to generate data files or more input files to compile.
>
> ...
>
> For the second point, it would seem a good idea at some point to
> support a "native_" prefix, so setting eg. "native_PROGRAMS" will
> trigger the use of BUILD_* tools.

I am no longer particularly familiar with automake internals, but I do
think some sort of "this is for the build machine" is a very good idea.

At the risk of descending into bikeshedding, I'm not sure that native_
is the best option, because just about everything that is foo_PROGRAMS
describes something built from native code. build_ isn't great either
(despite the symmetry with AC_CANONICAL_BUILD &c.)  because most of what
automake does involves building programs.

But I am glad to see this being worked on.

-- Jack
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.