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

Re: Long-term mass bug filing for crossbuild support

On Tue, Nov 06, 2007 at 09:07:54PM +0100, Mike Hommey wrote:
> > There is no need to specify --host when not cross-compiling, and specifying
> > it will result in autoconf believing that the compiler should be invoked as
> > a cross-compiler.  Sometimes this has strange side effects as well.

> Hadn't this been fixed quite some time ago ? Or wasn't it something with
> --target ? Because I've been using --build and --host for a long time
> with no problem.

AFAIK there's nothing to be fixed here.  If you specify both --build and
--host, autoconf sees this as a request for cross-compiling.  Of course,
invoking the native compiler as a cross-compiler should /generally/ give the
same results as invoking it as "gcc", so it's entirely possible that it
doesn't cause problems on your packages.

Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
vorlon@debian.org                                   http://www.debian.org/

Reply to: