bug-autoconf
[Top][All Lists]
Advanced

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

Re: current glibc vs debian sid


From: Alexandre Duret-Lutz
Subject: Re: current glibc vs debian sid
Date: Thu, 24 Oct 2002 01:10:43 +0200
User-agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/20.7 (i386-debian-linux-gnu)

>>> "Akim" == Akim Demaille <address@hidden> writes:

[...]

 Akim> Some people also said that they want to pretend they
 Akim> cross-compile using their native compiling suite just to
 Akim> be able to exercise their package in cross-compilation.

 Akim> in the end, everything amounts to: we do not want any form of educated
 Akim> guess from configure: with --host it's cross, without, it's not.

Actually I wish this was true, in order to simulate cross
compilation setups in Automake's test suite.

AFAICS ./configure is presently doing what other people in this
thread want it to do: a native build when $host is set to the
building arch.

% ./configure --host=`tools/config.guess`
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
checking for i686-pc-linux-gnu-strip... no
checking for strip... strip
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for i686-pc-linux-gnu-gcc... no
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
                                          ^^^^

configure didn't found a cross compiler, so it assumes a native
build :(

Is this some sort of backward compatibility heuristic that is
planned for removal?  When?
-- 
Alexandre Duret-Lutz





reply via email to

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