Comments (3)
In the tool wrappers, there are two sources of WINEPATH enviroment variables, but both may cause problems:
- For nmake, the WINEPATH comes from BINDIR.
To my understanding, SDKBINDIR should also be included. Otherwise, nmake cannot correctly find rc. You can try to compile putty to regenerate an error that complains about missing rc.
Yes, this is true
- For other wrappers, the WINEPATH is exported in msvcenv.sh and is set to $MSVCDIR\bin\Hostx64\x64
This directory is fixed to Hostx64\x64 regardless of which arch we are targeting. To the best of my knowledge, the folder should depend on the target arch, and it is better to use original directories (SDKBINDIR and BINDIR) instead of the wrapper directories in case that some other exes and dlls are required.
No, this part is actually intentionally the way it is.
For older MSVC versions (2017), the cross compiler dirs (e.g. Hostx64/arm64, or anything other than x64) is missing a bunch of DLLs, e.g. mspdbcore.dll and msvcdis140.dll. So whenever running tools from Hostx64/whatever, Hostx64/x64 is expected to be in the path. Same thing if Hostx86/whatever is used, then Hostx86/x86 would have to be available in the path, for those DLLs to be found.
But I do see that this does conflict a bit with the nmake case. I'd suggest keeping the Hostx64/x64 case last in the path, but adding SDKBINDIR and BINDIR in front of it probably is good.
from msvc-wine.
Thanks for the explanation, the pull request branch has been updated accordingly.
from msvc-wine.
This should have been fixed by 438ae37.
from msvc-wine.
Related Issues (20)
- cl preferring WindowsSDK Headers over custom headers. HOT 1
- runnig install.sh - permission denied HOT 2
- Wine: "build_command_line command line too long" HOT 6
- Trying to get MSBuild working in a Fedora container HOT 16
- msbuild uses HostX86 tools when cross-compiling on x64 host and UseEnv=false HOT 2
- netfx 4.8
- Suggestion: Using GitHub cache action to cache the downloaded files between CI runs HOT 7
- CMake Find Packages HOT 2
- Problem with closing piped output due to msvctricks.exe HOT 1
- Getting "C1902: Program database manager mismatch" when using CMake HOT 3
- MSBuild HOT 1
- Extracting Application Verifier arm External Package (DesktopEditions)-arm_en-us.msi HOT 2
- Build failed when making VS2017, VS2019 docker image HOT 1
- LIB environmental variable needs : and not ; HOT 2
- Clangd Integration
- Absolute paths in response files also need to be handled HOT 4
- vsdownload.py: option to download compiler HOT 3
- LINK error if response files are huge HOT 2
- How to download v143 toolset? HOT 1
- there seems to be no wine64 in ubuntu23.10 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from msvc-wine.