Skip to content

GHC cannot create output dir tree #9

Open
@dfordivam

Description

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.

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