#7706 closed bug (invalid)

iOS patch no 5: pass host OS and arch to cabal

Reported by: StephenBlackheath Owned by:
Priority: normal Milestone:
Component: Compiler Version: 7.7
Keywords: Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: None/Unknown Difficulty:
Test Case: Blocked By:
Blocking: Related Tickets:

Description

WARNING: If this cabal patch (https://github.com/haskell/cabal/issues/1184#issuecomment-13761018 - adds --host-os and --host-arch options) isn't applied, then *this patch will break all cross compiling*.

Pass the correct host-os and host-arch values to cabal.

Attachments (1)

ios-patch-5a-host-os-passed-to-cabal.patch (1.1 KB) - added by StephenBlackheath 14 months ago.
iOS patch 5 rev a: pass --host-os and --host-arch options to cabal in cross compile case

Download all attachments as: .zip

Change History (5)

Changed 14 months ago by StephenBlackheath

iOS patch 5 rev a: pass --host-os and --host-arch options to cabal in cross compile case

comment:1 Changed 14 months ago by StephenBlackheath

  • Status changed from new to patch

comment:2 Changed 14 months ago by StephenBlackheath

lukexi points out that Simon M said (in Cabal issue 1184) that it would be better to extract the hostOS and hostArch from the ghc passed to cabal via --with-ghc.

comment:3 Changed 14 months ago by StephenBlackheath

  • Status changed from patch to infoneeded

I'll change it to infoneeded because this patch really isn't ready.

comment:4 Changed 14 months ago by StephenBlackheath

  • Resolution set to invalid
  • Status changed from infoneeded to closed

We won't do this patch.
Cabal is instead going to infer the hostOS and hostArch from ghc instead of passing it explictly.

Note: See TracTickets for help on using tickets.