← Back to issue list

autotools: Enable cross-compilation support

View original Github issue

Metadata

Project
snapcraft
Number
#1383
Type
pull request
State
merged
Author
kalikiana
Labels
Created
Updated
Closed

Current evaluation

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.

Suggested action:

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
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.
qwen3.6-35b-a3b-mtp-q6 Autotools cross-compilation support was merged. Initial CI failures from missing host configuration were resolved via a follow-up commit. Tests passed and the changes were integrated.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1654 autotools: cross-compile using --host instead of env snapcraft merged Fixed autotools cross-compilation by replacing CC and CXX environment variables with proper --host triplet arguments. Merged after reviewer approval and passing CI checks, ensuring correct toolchain detection including cross-strip.
82%
#3523 autotools v2 plugin: adding cross compilation support snapcraft closed Closed without merging. Proposed cross-compilation support for the autotools v2 plugin. Maintainers raised concerns about build environment compliance and CC handling. The maintainer closed the PR pending further forum discussion.
78%
#5350 docs: add how-to for cross compiling autotools snapcraft merged Merged documentation update adding a how-to guide for cross-compiling autotools. Approved by two reviewers, passed CI checks, and added 198 lines across four files. Resolves CRAFT-4328.
71%
#1566331 snapcraft autotools plugin doesn't support building other architectures snapcraft (launchpad) open Feature request for the autotools plugin to support cross-compilation for other architectures via environment variables. Implemented by merged PR #1383 (CC/CXX env vars) and refined by #1654 (--host triplet). No maintainer interaction; ready to close.
70%
#1076 autotools: extend Make plugin instead of repeating code snapcraft merged Merged into master. Refactored the autotools plugin to extend the existing Make plugin, eliminating duplicated build logic. Approved by one reviewer, passed CI checks, and reduced code by 19 lines across four files.
70%