autoconf-archive-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ax_enable_builddir: default HOST value really set?


From: Guido Draheim
Subject: Re: ax_enable_builddir: default HOST value really set?
Date: Sat, 21 May 2011 11:38:25 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.14) Gecko/20110221 SUSE/3.1.8 Thunderbird/3.1.8

Hello Naohiro,

HOST is really used in the toplevel makefile part that
is generated to allow the normal gnu-style compilation
series (configure && make && make install). You only need
it, when --host=* is used with a value that does not match
with config.guess - actually this scenario occurs in
cross-compile build setups.

If you look closer then you will see that the host-values disagree:
* build in i686-gentoo-freebsd8.0 (HOST=)
* MAKE i386-unknown-freebsd8.0

So I assume that you used "configure --host=x" but not "make HOST=x".

While the usage of "HOST=" had been developed for cross-compile
scenarios I have found some rpm distributions to run configure
with "--host=" by default. I other words it is even used when
it is not cross-compiling at all. Almost all of my projects broke
with almost all distributions some of the time just because of that.

I wish I could rewrite the macro to cope with the current situation
around Linux distributions but I had not found time for that so far.

I hope this clarifies some stuff, cheers, Guido


Am 21.05.2011 05:01, schrieb Naohiro Aota:
> Hello,
> 
> I'm a Gentoo (distribution) developer and working on this
> bug http://bugs.gentoo.org/show_bug.cgi?id=363275
> 
> ax_enable_builddir [1] tell us that "Defaults: $1 = $host (overridden
> with $HOST)". Is it really true? I don't think the macro set the default
> value for $HOST (from configure's --host argument or something)
> 
> Attached is config.log file.
> 
> [1] http://www.gnu.org/software/autoconf-archive/ax_enable_builddir.html
> 
> Regards,
> 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]