diff doc/README.Windows @ 0:3e629dc19168

initial from svn dyncall-1745
author Daniel Adler
date Thu, 19 Mar 2015 22:24:28 +0100
parents
children 451299d50c1a
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/doc/README.Windows	Thu Mar 19 22:24:28 2015 +0100
@@ -0,0 +1,64 @@
+Bulding DynCall on Windows
+==========================
+
+
+Build using buildsys/nmake and MS Visual Studio Tools:
+------------------------------------------------------
+
+  32-bit:
+    vcvarsall.bat x86
+    .\configure.bat /target-x86
+    nmake /f Nmakefile
+
+  64-bit:
+    vcvarsall.bat amd64
+    .\configure.bat /target-x64
+    nmake /f Nmakefile
+
+  Build/run tests:
+    cd test
+    nmake /f Nmakefile
+    
+    NOTE: if you encounter 'python'/'lua' not found messages (which is 
+     executed mistakenly for re-generation of test C code)
+     timestamps are wrong; workaround: run "svn revert -R ." several times.
+
+Build using buildsys/gmake and MinGW or Cygwin:
+-----------------------------------------------
+
+  32-bit:
+    .\configure.bat /target-x86 /tool-gcc
+    make
+
+  64-bit:
+    .\configure.bat /target-x64 /tool-gcc
+    make
+
+
+Build using Makefile.embedded and MinGW or Cygwin:
+--------------------------------------------------
+
+    > mingw32-make -f Makefile.embedded
+    $ make -f Makefile.embedded CC=gcc
+
+
+Build using CMake and Nmake:
+----------------------------
+
+  Put the appropriate tool-chain in path (32 or 64-bit version of MSVC), then:
+  
+    cmake -G "NMake Makefiles" %DYNCALL_SOURCE_DIR%
+    nmake
+
+
+Build using CMake and Visual Studio:
+------------------------------------
+ 
+  32-bit:
+    cmake .
+    open DynCall.sln
+
+  BROKEN: SAFE EH.
+
+  BROKEN: Rules to assemble MASM files are still missing.
+