Mercurial > pub > dyncall > dyncall
comparison 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 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:3e629dc19168 |
---|---|
1 Bulding DynCall on Windows | |
2 ========================== | |
3 | |
4 | |
5 Build using buildsys/nmake and MS Visual Studio Tools: | |
6 ------------------------------------------------------ | |
7 | |
8 32-bit: | |
9 vcvarsall.bat x86 | |
10 .\configure.bat /target-x86 | |
11 nmake /f Nmakefile | |
12 | |
13 64-bit: | |
14 vcvarsall.bat amd64 | |
15 .\configure.bat /target-x64 | |
16 nmake /f Nmakefile | |
17 | |
18 Build/run tests: | |
19 cd test | |
20 nmake /f Nmakefile | |
21 | |
22 NOTE: if you encounter 'python'/'lua' not found messages (which is | |
23 executed mistakenly for re-generation of test C code) | |
24 timestamps are wrong; workaround: run "svn revert -R ." several times. | |
25 | |
26 Build using buildsys/gmake and MinGW or Cygwin: | |
27 ----------------------------------------------- | |
28 | |
29 32-bit: | |
30 .\configure.bat /target-x86 /tool-gcc | |
31 make | |
32 | |
33 64-bit: | |
34 .\configure.bat /target-x64 /tool-gcc | |
35 make | |
36 | |
37 | |
38 Build using Makefile.embedded and MinGW or Cygwin: | |
39 -------------------------------------------------- | |
40 | |
41 > mingw32-make -f Makefile.embedded | |
42 $ make -f Makefile.embedded CC=gcc | |
43 | |
44 | |
45 Build using CMake and Nmake: | |
46 ---------------------------- | |
47 | |
48 Put the appropriate tool-chain in path (32 or 64-bit version of MSVC), then: | |
49 | |
50 cmake -G "NMake Makefiles" %DYNCALL_SOURCE_DIR% | |
51 nmake | |
52 | |
53 | |
54 Build using CMake and Visual Studio: | |
55 ------------------------------------ | |
56 | |
57 32-bit: | |
58 cmake . | |
59 open DynCall.sln | |
60 | |
61 BROKEN: SAFE EH. | |
62 | |
63 BROKEN: Rules to assemble MASM files are still missing. | |
64 |