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

2014-01-31 Thread Yann Dirson
On Thu, Jan 30, 2014 at 10:16:06PM +0100, Yann Dirson wrote: > On Thu, Jan 30, 2014 at 09:53:59PM +0100, Yann Dirson wrote: > > > > And without even trying to touch this, I also have > > > > another problem to deal with, where requesting my native binary > > > > triggers some sort of default rule a

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

2014-01-30 Thread Peter Rosin
On 2014-01-30 21:53, Yann Dirson wrote: > On Thu, Jan 30, 2014 at 01:33:17PM +, Gavin Smith wrote: >> On Wed, Jan 29, 2014 at 10:40 PM, Yann Dirson wrote: >>> Hello, >>> >>> It is not uncommon for software packages to build tools to be executed >>> at build time, to generate data files or more

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

2014-01-30 Thread Yann Dirson
On Thu, Jan 30, 2014 at 09:53:59PM +0100, Yann Dirson wrote: > > > And without even trying to touch this, I also have > > > another problem to deal with, where requesting my native binary > > > triggers some sort of default rule attempting to build the binary in > > > one step directly from the C s

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

2014-01-30 Thread Yann Dirson
On Thu, Jan 30, 2014 at 06:49:50PM +1100, Jack Kelly wrote: > Yann Dirson 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

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

2014-01-30 Thread Yann Dirson
On Thu, Jan 30, 2014 at 01:33:17PM +, Gavin Smith wrote: > On Wed, Jan 29, 2014 at 10:40 PM, Yann Dirson wrote: > > Hello, > > > > 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. > > > > Unless I m

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

2014-01-30 Thread Gavin Smith
On Wed, Jan 29, 2014 at 10:40 PM, Yann Dirson wrote: > Hello, > > 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. > > Unless I miss something, the current autotools does not help much > dealing with this

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

2014-01-29 Thread Jack Kelly
Yann Dirson 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_PRO

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

2014-01-29 Thread Yann Dirson
Hello, 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. Unless I miss something, the current autotools does not help much dealing with this for cross-compilation: * autoconf only probes for host CC as soo