Skip to content

Commit f48f30f

Browse files
committed
Windows installation steps expanded
1 parent 02d4d0f commit f48f30f

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

+10
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,16 @@ CNA provides an interface for using native C-compatible shared libraries without
2222
###Windows###
2323

2424
For Windows-based systems you can try to do the same as for Linux (for building you may use [mingw32](http://www.mingw.org/) or [mingw32-w64](http://mingw-w64.sourceforge.net/)). Or you can just download [binary files](https://github.com/intersystems-ru/cna/releases). **Note: types (32-bit or 64-bit) of libcna, current Caché installation and external libraries must be equal.**
25+
For building you can use [MSYS2](http://msys2.github.io/).
26+
How to:
27+
28+
1. Install MSYS,
29+
2. Then run correct bash (32 or 64)
30+
3. Install make, textinfo with ```pacman -S make, textinfo```
31+
- For 64bit install mingw-w64-x86_64-gcc with ```pacman -S mingw-w64-x86_64-gcc```
32+
- For 32bit install gcc with ```pacman -S gcc```
33+
4. Modify makefile, replace: ```cd libs/libffi && ./configure --build=$(BUILDSYS) --enable-shared=no && $(MAKE)``` with ```cd libs/libffi && ./configure --prefix=/mingw --build=$(BUILDSYS) --enable-shared=no && $(MAKE)```
34+
5. Follow linux installation steps
2535

2636
##Runnning tests##
2737

0 commit comments

Comments
 (0)