# set HOME=c:\Users\YourName in the System -> Advanced # you should save this to $HOME/.bashrc export LESSCHARSET=latin1 # use 8 bit instead of 7 bit chars for less export MAKE_MODE=UNIX export TEMP="C:\\WINDOWS\\TEMP" export TMP="C:\\WINDOWS\\TEMP" export CYGWIN="binmode ntsec" PATH=$PATH:~/bin PATH=$PATH:. #PATH=$PATH:/cygdrive/c/Apps/Python23 . $HOME/.aliases # . is like source # for the Symbian SDK selection use() { . $HOME/bin/use_$1 cd s: } vc6() { # note: got this data from C:\Program Files\Microsoft Visual Studio\VC98\Bin\vcvars32.bat # you probably don't need to change them if yours was installed in the same place # if this is not your only/main IDE, you may have to start it from the command line # after the paths are set by calling "msdev &" (without quotes), not by double-clicking an icon # in this batch, we augment cygwin path, notice forward slashes and : as the path separator export MSVCDir=/cygdrive/c/PROGRA~1/MICROS~3/VC98 export VSCommonDir=/cygdrive/c/PROGRA~1/MICROS~3/Common export MSDevDir=/cygdrive/c/PROGRA~1/MICROS~3/Common/msdev98 export PATH=$MSDevDir/BIN:$MSVCDir/BIN:$VSCommonDir/TOOLS/$VcOsDir:$VSCommonDir/TOOLS:$PATH # in this batch, we set a couple of environment variables for VC6, notice back slashes and ; as the path separator export MSVCDir=C:\\PROGRA~1\\MICROS~3\\VC98 export INCLUDE="$MSVCDir\\ATL\\INCLUDE;$MSVCDir\\INCLUDE;$MSVCDir\\MFC\\INCLUDE;$INCLUDE" export LIB="$MSVCDir\\LIB;$MSVCDir\\MFC\\LIB;$LIB" } vc7() { # note: got this data from C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\Tools\vsvars32.bat # you probably don't need to change them if yours was installed in the same place # if this is not your only/main IDE, you may have to start it from the command line # after the paths are set by calling "devenv &" (without quotes), not by double-clicking an icon # in this batch, we augment cygwin path, notice forward slashes and : as the path separator export VCINSTALLDIR="/cygdrive/c/Program Files/Microsoft Visual Studio .NET 2003" export VSINSTALLDIR=$VCINSTALLDIR/Common7/IDE export FrameworkDir=/cygdrive/c/WINDOWS/Microsoft.NET/Framework export FrameworkVersion=$VCINSTALLDIR/v1.1.4322 export FrameworkSDKDir=$VCINSTALLDIR/SDK/v1.1 export DevEnvDir=$VSINSTALLDIR export MSVCDir=$VCINSTALLDIR/VC7 export PATH=$DevEnvDir:$MSVCDir/BIN:$VCINSTALLDIR/Common7/Tools:$VCINSTALLDIR/Common7/Tools/bin/prerelease:$VCINSTALLDIR/Common7/Tools/bin:$FrameworkSDKDir/bin:$FrameworkDir/$FrameworkVersion:$PATH # in this batch, we set a couple of environment variables for VC7, notice back slashes and ; as the path separator export MSVCDir="c:\Program Files\Microsoft Visual Studio .NET 2003\VC7" export FrameworkSDKDir="c:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1" export INCLUDE="$MSVCDir\\ATLMFC\\INCLUDE;$MSVCDir\\INCLUDE;$MSVCDir\\PlatformSDK\\include\\prerelease;$MSVCDir\\PlatformSDK\\include;$FrameworkSDKDir\\include;$INCLUDE" export LIB="$MSVCDir\\ATLMFC\\LIB;$MSVCDir\\LIB;$MSVCDir\\PlatformSDK\\lib\\prerelease;$MSVCDir\\PlatformSDK\\lib;$FrameworkSDKDir\\lib;$LIB" } shopt -s nocaseglob cd #eof