haskell / haskell/cabal

Pass target to ./configure

Open
#7,038 0 comments 1 reaction 0 assignees View on GitHub
Cabal: cmd/configure type: enhancement
Dominant language
Haskell
Stars
1.7k
Forks
750
Avg merge
4d 3h
Merged PRs (30d)
28

Description

As of #1214 cabal infers target from `ghc --info`. This information should be passed to ./configure with the `--target=` flag so it can correctly perform configuration for cross-compilation.

Contributor guide

Open the contributing guide

Research direction

Start by tracing the existing handling of `ghc --info` introduced in #1214 and the code that invokes `./configure`. Confirm how the inferred target should be mapped to the `--target=` argument for cross-compilation. Done means the configure invocation receives the inferred target correctly.

Written by the indexing model from the issue text.

Assessment

Tech stack
haskell
Domain
build-system
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.