Re: configure: WARNING: using cross tools not prefixed with host triplet

2014-09-18 Thread Peter Rosin
On 2014-09-17 16:48, R. Diez wrote: > Hi there: > > I am cross-compiling on a Linux PC host for an embedded ARM target, and I am > getting this warning: > > checking for arm-none-eabi-mt... no > checking for mt... mt > configure: WARNING: using cross tools not prefixed with host triplet >

Re: configure: WARNING: using cross tools not prefixed with host triplet

2014-09-18 Thread R. Diez
> [...] > Why is searching for on > platform when isn't available there? > > Because it's the autoconf way! It's not a bug. > [...] First of all, thanks for your answer. At the moment, "autoconf's way" means generating a pointless warning or alternatively forcing the user to come

Re: configure: WARNING: using cross tools not prefixed with host triplet

2014-09-18 Thread R. Diez
>> [...] > >> Why is searching for on > >> platform when isn't available there? >> >> Because it's the autoconf way! It's not a bug. >> [...] One more thing I just realised: that spurious warning renders the original warning message inoperative: configure: WARNING: using cr

Re: configure: WARNING: using cross tools not prefixed with host triplet

2014-09-18 Thread Peter Rosin
On 2014-09-18 10:06, R. Diez wrote: > > >>> [...] >> >>> Why is searching for on >> >>> platform when isn't available there? >>> >>> Because it's the autoconf way! It's not a bug. >>> [...] > > One more thing I just realised: that spurious warning renders the original > warning

Re: Setting ACLOCAL_AMFLAGS with ':=' vs '='

2014-09-18 Thread Nick Bowler
On 2014-09-18 09:36 +0100, R. Diez wrote: > If I add this line to my Makefile.am (and I make sure that the 'm4' > subdir is created beforehand), then it works as intended: > > ACLOCAL_AMFLAGS = -I m4 > > However, if I use this syntax: > > ACLOCAL_AMFLAGS := -I m4 > > Then I get the followin