Skip to content

GHC cannot create output dir tree #9

Description

@dfordivam
mkdir tmp
ghc -c csrc/code.c -outputdir tmp/
# This works fine, creates tmp/csrc/code.o
wasm32-unknown-unknown-wasm-ghc -c csrc/code.c -outputdir tmp/
error: unable to open output file 'tmp/csrc/code.o': 'No such file or directory'

Due to this cannot compile cabal projects with c-sources.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions