autotools: Enable cross-compilation support
Metadata
Current evaluation
Merged PR #1383 in commit b1cc6454e, adding Autotools cross-compilation by setting the C and C++ compiler environment variables.
Resolution: closed resolved
Reason: PR #1383 was approved and merged as commit b1cc6454e. PR #1654 later replaced the environment overrides with configure --host, superseding the implementation approach.
Evaluated by: mr-cal-bot
No scores available.
Issue body
CC and CXX environment variables need to be set accordingly to cross-compile with Autotools.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #1383 in commit b1cc6454e, adding Autotools cross-compilation by setting the C and C++ compiler environment variables. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged as Snapcraft PR #1383 (commit b1cc6454e), adding Autotools cross-compilation support through CC and CXX configuration. | |
| stealth/space-bunny-alpha | — | closed resolved | Autotools cross-compilation support was merged using CC and CXX configuration; a follow-up fix restored integration tests before merge. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged changes enabling cross-compilation support for Autotools by setting CC and CXX environment variables. Initial CI failures were fixed, tests passed, and the PR was approved and merged. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged after resolving integration test failures by adding the --host flag and properly configuring CC and CXX variables. The update successfully enables autotools cross-compilation support. |
Update history
No update history recorded yet.
Related work
-
Superseded By:
snapcraft#1654
(confidence 100%)
Commit 19a616bf8 changed Autotools cross-compilation to use the target GNU triplet passed through --host instead of CC/CXX.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #3523 autotools v2 plugin: adding cross compilation support | snapcraft | closed | PR #3523 was closed unmerged after concerns about build-environment compliance and non-gcc CC handling; the maintainer deferred further design discussion to the forum. | |
| #1654 autotools: cross-compile using --host instead of env | snapcraft | merged | Merged #1654 in commit 19a616bf8, replacing autotools CC/CXX cross-compile overrides with the target GNU triplet passed via --host, enabling correct cross-tool detection such as strip. | |
| #5350 docs: add how-to for cross compiling autotools | snapcraft | merged | Added and merged an Autotools cross-compilation how-to in #5350, resolving CRAFT-4328 via commit b1fe2e186. |