autoconf
[Top][All Lists]
Advanced

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

Re: --build and --host


From: Steve M. Robbins
Subject: Re: --build and --host
Date: Thu, 14 Feb 2002 22:08:27 -0500
User-agent: Mutt/1.3.27i

On Thu, Feb 14, 2002 at 04:56:43PM +0100, Ralf Corsepius wrote:
> Am Don, 2002-02-14 um 16.17 schrieb Steve M. Robbins:


> > 3. Generated configure scripts have this bit
> > 
> > ac_tool_prefix=
> > test -n "$host_alias" && ac_tool_prefix=$host_alias-
> AFAIU, this is the origin of Ian's question, this thread has started
> with. I think, this fragment is bogus and ought to be changed. At least
> I have repeately found myself (I _am_ used to using cross-compilation)
> in situations where I had to revert this change by applying custom
> autoconf-macros, similar to this:
> 
> AC_DEFUN(RTEMS_CHECK_TOOL,
> [
>   AS_IF([test "x$build_alias" != "x$host_alias"],
>     [rtems_tool_prefix=${ac_tool_prefix}])
>   AC_CHECK_PROG($1, ${rtems_tool_prefix}$2, ${rtems_tool_prefix}$2, $3,
> $4)
> ])

[ ... ]

> The only thing that currently can be relied upon is 
> * --host=TARGET --build=TARGET to mean native building 

Did you mean to say

  * --host=FOO --build=BAR to mean cross-compilation

?  Otherwise, it seems that you are in contradiction with
yourself (above).

-S

-- 
by Rocket to the Moon,
by Airplane to the Rocket,
by Taxi to the Airport,
by Frontdoor to the Taxi,
by throwing back the blanket and laying down the legs ...
- They Might Be Giants




reply via email to

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