Interix SUA Community Forum

Full Version: Tip: Finding MS compiler tools
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
For using the cc script with the MS compiler, there are at least 3 paths to be found:
/VC/bin
/Common7/IDE
/bin

For finding the Windows SDk I have been using the classic environment variable MSSDK. MSSDK is no longer defined automatically by the installer, so it have to be defined manually. To catch up with the current method in MS tools I came up with this snippet to be placed in $HOME/.profile:
_mssdkdir="$(reg.exe query 'HKLM\SOFTWARE\Microsoft\Microsoft SDKs\Windows' -v 'CurrentInstallFolder' \
Reference URL's