bug-autoconf
[Top][All Lists]
Advanced

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

Re: [sr #110846] cross-compilation is not entered when build_alias and h


From: Nick Bowler
Subject: Re: [sr #110846] cross-compilation is not entered when build_alias and host_alias are the same
Date: Thu, 7 Dec 2023 22:17:35 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.0

On 2023-12-07 21:28, Zack Weinberg wrote:
Follow-up Comment #1, sr#110846 (group autoconf):

We regret the delay in responding to this bug report.

I believe this is the same as #110348.  The proposal there would make it so
you could force a configure script into cross-compilation mode, even when the
build and host triples are the same and the cross-compiled executables can run
on the build system, by specifying --host and *not* --build.  Would that work
for you?  (Please reply in #110348, I'm going to close this report.)

This will not happen for 2.72 but hopefully will for the release after that.

You can already force cross-compilation mode today by running

  ./configure cross_compiling=yes

I think it would be better to simply document this more clearly. Changing the behaviour of --host (without --build) to force cross compilation mode seems ill-advised. As I recall, this was tried before some years back and there were complaints by people cross-building with mingw on GNU/Linux build systems, who actually wanted the runtime tests to be done.

I think the current wording in the manual (which de-emphasized the recommendation to always specify --build and --host together) came as a result of those complaints, and it explicitly mentions the mingw use case.

Cheers,
  Nick



reply via email to

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