On 28 Jun 2000, Alexandre Oliva wrote: > On Jun 28, 2000, Mo DeJong <[EMAIL PROTECTED]> wrote: > > > Why can't we just switch the value of $build over to the output of > > config.guess for the build system when we try to detect a cross > > compiler and the resulting executable can not be run? > > Compare the output of `config.guess' with that of > `CC=/path/to/cross-gcc config.guess' on a couple of different > platforms and you'll see what I mean. What is wrong with just running config.guess without knowing anything about the cross compiler? % ./config.guess i686-pc-linux-gnu We could add something like this after the cross detect step: if test "$cross_compiling" = yes && test "$build_alias" = "" ; then build=`$ac_config_guess` fi Mo DeJong Red Hat Inc
- Re: --host => cross breaks GCC builds Mo DeJong
- Re: --host => cross breaks GCC builds Alexandre Oliva
- Re: --host => cross breaks GCC builds Mo DeJong
- Re: --host => cross breaks GCC builds Alexandre Oliva
- Re: --host => cross breaks GCC builds Mo DeJong
- Re: --host => cross breaks GCC builds Alexandre Oliva
- Re: --host => cross breaks GCC builds Mo DeJong
- Re: --host => cross breaks GCC builds Alexandre Oliva
- Re: --host => cross breaks GCC builds Mo DeJong
- Re: --host => cross breaks GCC builds Alexandre Oliva
- Re: --host => cross breaks GCC builds Mo DeJong
- Re: --host => cross breaks GCC builds Alexandre Oliva
- Re: --host => cross breaks GCC builds Akim Demaille
- Re: --host => cross breaks GCC builds Alexandre Oliva
- Re: --host => cross breaks GCC builds Akim Demaille
- Re: --host => cross breaks GCC builds Akim Demaille
- Re: --host => cross breaks GCC builds Alexandre Oliva
- Re: --host => cross breaks GCC builds Mo DeJong
- Re: --host => cross breaks GCC builds Akim Demaille
- Re: --host => cross breaks GCC builds Mo DeJong
- Re: --host => cross breaks GCC builds Russ Allbery