Skip to content

Investigate link failures on Windows caused by using Cygwin instead of MSYS #2205

Closed as not planned

Description

@23Skidoo

In #2202, a user was trying to build cabal-install from the Cygwin shell (using native GHC/cabal-install). This caused link failures, which was solved by switching to MSYS2 shell.

Since we now get the gcc path from ghc --info, this was probably caused by Cygwin somehow tricking the network package's configure script into using a wrong version of gcc. We should look into whether it's possible to fix this by e.g. invoking configure with CC=/path/to/gcc or something like it.

Activity

  1. self-assigned this
    on Nov 6, 2014
  2. added this to the milestone on Apr 24, 2015
  3. modified the milestones: Cabal 1.24, on Feb 21, 2016
  4. removed their assignment
    on Jul 27, 2016
  5. modified the milestone: Cabal 2.0 on Sep 6, 2016
  6. jasagredo commented on Jul 18, 2024

    @jasagredo
    Collaborator

    Nowadays, Haskell on Windows relies on the Mingw toolchain and not on Cygwin. I'm closing this ticket as it is about Cygwin, please re-open if you disagree.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions