Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

c2hs.exe fails under windows and stack: $topdir #202

Closed
KaneTW opened this issue Apr 17, 2018 · 1 comment
Closed

c2hs.exe fails under windows and stack: $topdir #202

KaneTW opened this issue Apr 17, 2018 · 1 comment

Comments

@KaneTW
Copy link
Contributor

KaneTW commented Apr 17, 2018

Given ghc --info:

$ ghc --info
 [("Project name","The Glorious Glasgow Haskell Compilation System")
 ,("GCC extra via C opts"," -fwrapv -fno-builtin")
 ,("C compiler command","$topdir/../mingw/bin/gcc.exe")
...

c2hs as invoked by stack fails with:

'$topdir' is not recognized as an internal or external command,
operable program or batch file.
c2hs.exe: Failed to compile 'bool' size test program!
@KaneTW
Copy link
Contributor Author

KaneTW commented Apr 19, 2018

See #203 for a fix

@KaneTW KaneTW closed this as completed Jun 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant