Closed
Description
Describe the bug
I am trying to execute programs compiled with wine-vc. I get the following error:
Could not execute the program
Compiler returned: -1
Compiler stderr
<spawn /usr/bin/wine ENOENT>
I enabled debug output, and this is probably from a cwd that doesn't exist: "cwd":"mp/compiler-explorer-compiler2022723-53-1dkihet.ihfx"
I assume this is caused by this: https://sourcegraph.com/github.com/compiler-explorer/compiler-explorer/-/blob/lib/compilers/wine-vc.js?L54
So, uh, what is that line of code there for? Am I doing something wrong?
Steps to reproduce
I am trying to build a docker container with compiler-explorer and MSVC. The easiest way to reproduce is to use that:
https://github.com/edmcman/docker-msvc-compiler-explorer
Then try to execute any C++ program using Visual C++ 2005 or 2008.
Expected behavior
The program executes
Reproduction link
Not applicable
Screenshots
Operating System
No response
Browser version
No response