-
Notifications
You must be signed in to change notification settings - Fork 711
Pass short path names to configure scripts on Windows #3185
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
Comments
Of the mechanisms to get short path names in windows, this looks fairly reliable for programmatic use: http://stackoverflow.com/a/21786312/371753 |
Is |
Calling the function directly should work fine too. I just tend to prefer to shell out rather than deal with more bindings... |
8.3 short names can be disabled for performance reasons https://msdn.microsoft.com/en-us/library/windows/desktop/aa365247(v=vs.85).aspx#short_vs._long_names |
The documentation for
So it looks like using |
In #2946 we changed Cabal to use the standard mechanism when passing the gcc path to
configure
scripts. Unfortunately, it looks like this feature is still broken (at least on Windows) when the path contains spaces (a bug in Autoconf). A workaround that is confirmed to work is to use short path names. We should change Cabal to do that automatically.The text was updated successfully, but these errors were encountered: