From f48f30fe333c88b6475205746b2bb37323e84c0f Mon Sep 17 00:00:00 2001 From: eduard93 Date: Wed, 9 Dec 2015 16:04:59 +0300 Subject: [PATCH] Windows installation steps expanded --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 508680d..2bd82c9 100644 --- a/README.md +++ b/README.md @@ -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##