[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 03:13:58PM -0500, Steve Langasek wrote:
> 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.

The autoconf documentation says only if you enter both and they're
different will it enter cross compiling mode.

FWIW, the dh_make samples set both.

Mike



Reply to: