Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
msvc env for cygwin
INCLUDE='c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE;c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\ATLMFC\INCLUDE;c:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include;'
INFOPATH='/usr/local/info:/usr/share/info:/usr/info:/usr/local/info:/usr/share/info:/usr/info:'
LIB='c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\LIB;c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\ATLMFC\LIB;c:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\lib;'
LIBPATH='c:\Windows\Microsoft.NET\Framework\v4.0.30319;c:\Windows\Microsoft.NET\Framework\v3.5;c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\LIB;c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\ATLMFC\LIB;'
WindowsSdkDir='c:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\'
VSINSTALLDIR='c:\Program Files (x86)\Microsoft Visual Studio 10.0\'
VCINSTALLDIR='c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\'
MSVC_PATH='/usr/local/bin:/usr/bin:/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/VSTSDB/Deploy:/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/IDE:/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/VC/BIN:/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/Common7/Tools:/cygdrive/c/Windows/Microsoft.NET/Framework/v4.0.30319:/cygdrive/c/Windows/Microsoft.NET/Framework/v3.5:/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 10.0/VC/VCPackages:/cygdrive/c/Program Files (x86)/HTML Help Workshop:/cygdrive/c/Program Files (x86)/HTML Help Workshop:/cygdrive/c/Program Files (x86)/Microsoft SDKs/Windows/v7.0A/bin/NETFX 4.0 Tools:/cygdrive/c/Program Files (x86)/Microsoft SDKs/Windows/v7.0A/bin'
export INCLUDE
export INFOPATH
export LIB
export LIBPATH
export WindowsSdkDir
export VSINSTALLDIR
export VCINSTALLDIR
export MSVC_PATH
export PATH="$MSVC_PATH:$PATH"
@ChrisLundquist
Copy link
Author

ChrisLundquist commented Sep 13, 2012

lets you run cl.exe from cygwin terminal so you can SSH to windows 7 and compile

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment