Compile error parallel-cc on windows #23174
Labels
Feature/Enhancement Request
This issue is made to request a feature or an enhancement to an existing one.
OS: Windows
Bugs/feature requests, that are specific to Windows OS.
Describe the bug
When compiled with the -parallel-cc flag, it does not find the correct path of gcc, clang, ld etc...
And it's not because it can't find the executable called cc, because I put gcc called cc, and even then the error persisted, but I believe that in Windows it should look for cc.
V doctor
does the same thing, it can't find cc.exe, but I'm on Windows.Anyway, without the -parallel-cc flag it compiles normally.
Reproduction Steps
any hello word.
Expected Behavior
compile
Current Behavior
v -parallel-cc -prod .
'"cc"' is not recognized as an internal or external command, operable program or batch file.
'"cc"' is not recognized as an internal or external command, operable program or batch file.
'"cc"' is not recognized as an internal or external command, operable program or batch file.
'"cc"' is not recognized as an internal or external command, operable program or batch file.
'"cc"' is not recognized as an internal or external command, operable program or batch file.
'"cc"' is not recognized as an internal or external command, operable program or batch file.
Possible Solution
No response
Additional Information/Context
No response
V version
V 0.4.8 23bcd91
Environment details (OS name and version, etc.)
V full version: V 0.4.8 c4aaa2e.23bcd91
OS: windows, Microsoft Windows 11 Pro Insider Preview v27764 64-bit
Processor: 12 cpus, 64bit, little endian,
getwd: C:\Users\Andre
vexe: E:\Progs\v\v.exe
vexe mtime: 2024-12-11 04:48:55
vroot: OK, value: E:\Progs\v
VMODULES: OK, value: C:\Users\Andre.vmodules
VTMP: OK, value: C:\Users\Andre\AppData\Local\Temp\v_0
Git version: git version 2.46.1.windows.1
Git vroot status: weekly.2024.50-9-g23bcd915 (29 commit(s) behind V master)
.git/config present: true
CC version: Error: 'cc' is not recognized as an internal or external command, operable program or batch file.
emcc version: Error: 'emcc' is not recognized as an internal or external command, operable program or batch file.
thirdparty/tcc status: thirdparty-windows-amd64 b425ac82
Note
You can use the 👍 reaction to increase the issue's priority for developers.
Please note that only the 👍 reaction to the issue itself counts as a vote.
Other reactions and those to comments will not be taken into account.
The text was updated successfully, but these errors were encountered: