Skip to content

Windows - GCC missing libs error #36

Closed
@SturdyPose

Description

@SturdyPose

When I've included this package into Stack build project, I've got error : * Missing (or bad) C libraries: gcc_eh

Can we please include into documentation these steps to resolve it?

This errors occurs when haskell stack can't find gcc libs. To fix this follow these steps:

  1. Run stack exec -- pacman -Syu, stack exec -- pacman -S gcc
  2. Then "stack exec -- gcc -print-libgcc-file-name"
  3. Copy the path without libgcc.a and paste it inside extra-lib-dirs stack.yaml

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationwindowsProblems with the bindings on windows

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions