merged
authorOleksandr Gavenko <gavenkoa@gmail.com>
Fri, 02 Jul 2010 10:45:49 +0300
changeset 433 7eae6f4baa38
parent 432 9ed9bd59c0fd (current diff)
parent 424 2cbd7bbb1012 (diff)
child 434 9ec6aa392a48
child 441 539fd4728ea4
merged
cygwin.rst
--- a/cygwin.rst	Fri Jul 02 10:45:36 2010 +0300
+++ b/cygwin.rst	Fri Jul 02 10:45:49 2010 +0300
@@ -10,14 +10,14 @@
 
 Add to your PATH env var exactly before C:\WINDOWS\system32;C:\WINDOWS values:
 
-   set PATH=d:\opt\cygwin\bin;d:\opt\cygwin\usr\local\bin;%PATH%
-
-Set CYGWIN env var:
+  set PATH=d:\opt\cygwin\bin;d:\opt\cygwin\usr\local\bin;%PATH%
 
   REM Set CYGWIN variable to 'nontsec'. That makes sure that permissions
   REM on your windows machine are not updated as a side effect of cygwin
   REM operations.
-  SET CYGWIN=binary nontsec nodosfilewarning codepage:utf8
+  set CYGWIN=binary nontsec nodosfilewarning codepage:cp1251 noglob
+
+  set LANG=ru_RU.cp1251
 
 Set HOME env var (where places config file and projects):
 
@@ -35,7 +35,7 @@
 
 ** Recreate /etc/passwd and /etc/groups.
 
-  $ mkpasswd -d | grep $yourlogin > /etc/passwd  # if you in Windows domen
-  $ mkpasswd -l > /etc/passwd                    # if you in Windows domen
+  $ mkpasswd -d | grep $yourlogin > /etc/passwd  # if you in Windows domain
+  $ mkpasswd -l > /etc/passwd                    # if you in Windows domain
 
   $ mkgroup -l > /etc/group
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/make.rst	Fri Jul 02 10:45:49 2010 +0300
@@ -0,0 +1,5 @@
+-*- outline -*-
+
+* How view list of default make definitions.
+
+  $ make -p -f /dev/null
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/msvc.rst	Fri Jul 02 10:45:49 2010 +0300
@@ -0,0 +1,71 @@
+-*- mode: outline; coding: utf-8 -*-
+
+* Downloads.
+
+** MSVC.
+
+
+
+** SDK.
+
+  http://msdn.microsoft.com/en-us/windows/bb980924.aspx
+                Windows SDK
+
+* Register SDK to Visual Studio.
+
+To check all available version:
+
+  cmd> cd %PROGRAMFILES%\Microsoft SDKs\Windows\vX.X\Setup\
+  cmd> WindowsSdkVer.exe -version
+
+To check current used version:
+
+  cmd> cd %PROGRAMFILES%\Microsoft SDKs\Windows\vX.X\Setup\
+  cmd> WindowsSdkVer.exe -current
+
+Register SDK:
+
+  cmd> cd %PROGRAMFILES%\Microsoft SDKs\Windows\vX.X\Setup\
+  cmd> WindowsSdkVer.exe -version:v6.1
+
+* MSVC versions.
+
+  NAME                       VER  _MSC_VER  cl
+
+  Visual Studio 6.0 (1998)   6.0  1200
+  Visual Studio .NET (2002)  7.0  1300
+  Visual Studio .NET 2003    7.1  1310
+  Visual Studio 2005         8.0  1400      14.00
+  Visual Studio 2008         9.0  1500      15.00
+  Visual Studio 2010        10.0  1600      16.00
+
+To check version from command line:
+
+  cmd# cl /help 2>&1 | head -n 1
+Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 16.00.30319.01 for 80x8
+  cmd# cl /help 2>&1 | head -n 1 | sed "s=.*Version \([0-9]*\)\.\([0-9]*\)\..*=\1.\2="
+16.00
+
+  http://predef.sourceforge.net/precomp.html#sec35
+
+* MS SDK version.
+
+                                                    VER
+
+Included in Visual Studio 2005                      v5.0
+Included in Visual Studio 2008                      v6.0A
+SDK Update for Windows Vista
+SDK for Windows Server 2008 and .NET Framework 3.5  v6.1
+Included in Visual Studio 2010 Express              v7.0A
+SDK for Windows 7 and .NET Framework 3.5 SP 1       v7.0
+SDK for Windows 7 and .NET Framework 4              v7.1
+
+  http://msdn.microsoft.com/en-us/windows/dd146047.aspx
+                Which SDK do I install?
+  http://en.wikipedia.org/wiki/Microsoft_Windows_SDK#Versions
+
+* MSVC and SDK compatibility.
+
+v6.1: MSVC 2005, 2008 + express
+v7.0: MSVC 2008 + express
+v7.1: MSVC 2005, 2008, 2010 + express