Compiling with extra libraries in Windows doesn't work with whitespaces in platform folder #1023

letmaik opened this Issue Sep 1, 2012 · 1 comment


None yet
4 participants

letmaik commented Sep 1, 2012

I tried to do the following:

cabal install monadiccp --flags="RuntimeGecode Debug" --extra-lib-dirs="D:\Programme\Gecode\bin;D:\Programme\Gecode\lib" --extra-include-dirs=D:\Programme\Gecode\include\ --reinstall

But that didn't work. The errors I saw with -v3 indicate that gcc.exe is somehow executed wrongly, e.g.:

realgcc.exe: Platform\2012.2.0.0\lib\time-1.4\include -ID:\programme\Haskell:Invalid argument

It cuts off at the first whitespace, as if there are no " " around the paths. See the log file.

@ttuegel ttuegel added this to the Cabal-1.24 milestone Apr 23, 2015


This comment has been minimized.

Show comment Hide comment

ttuegel Apr 23, 2015


Is this an issue with Cabal >= 1.22?


ttuegel commented Apr 23, 2015

Is this an issue with Cabal >= 1.22?

@23Skidoo 23Skidoo modified the milestones: Cabal 1.24, Cabal 1.26 Feb 21, 2016

@ezyang ezyang modified the milestone: Cabal 2.0 Sep 6, 2016

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