Skip to content

Commit

Permalink
Windows installation steps expanded
Browse files Browse the repository at this point in the history
  • Loading branch information
eduard93 committed Dec 9, 2015
1 parent 02d4d0f commit f48f30f
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,16 @@ CNA provides an interface for using native C-compatible shared libraries without
###Windows###

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.**
For building you can use [MSYS2](http://msys2.github.io/).
How to:

1. Install MSYS,
2. Then run correct bash (32 or 64)
3. Install make, textinfo with ```pacman -S make, textinfo```
- For 64bit install mingw-w64-x86_64-gcc with ```pacman -S mingw-w64-x86_64-gcc```
- For 32bit install gcc with ```pacman -S gcc```
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)```
5. Follow linux installation steps

##Runnning tests##

Expand Down

0 comments on commit f48f30f

Please sign in to comment.