Skip to content

Add support for -g option #2702

Closed
Closed
@bitonic

Description

@bitonic

-g builds libraries with DWARF symbols, but it's quite awkward to use it:

cabal install --disable-library-stripping --ghc-options="-g -rtsopts"

I think we should have a flag that automatically does the above.

Moreover, I'd also like a flag that stores the downloaded source, so that the debug symbols will refer to sources which still exist.

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