aboutsummaryrefslogtreecommitdiffhomepage
path: root/INSTALL
diff options
context:
space:
mode:
authorGravatar Nicolas "Pixel" Noble <pixel@nobis-crew.org>2015-05-10 22:20:31 +0200
committerGravatar Nicolas "Pixel" Noble <pixel@nobis-crew.org>2015-05-10 22:20:31 +0200
commit5fc1adf9b9da6b1ef6f961854f759fb00c69e959 (patch)
tree789ea1c71cd9984c510ea6288b076aad72abe024 /INSTALL
parent47bfcc0730c19430e2f6edeff1bdcb2bb6fdf38e (diff)
Msys2 fixes, and compilation instructions.
Diffstat (limited to 'INSTALL')
-rw-r--r--INSTALL23
1 files changed, 23 insertions, 0 deletions
diff --git a/INSTALL b/INSTALL
index 50040d7d21..5edb5e6db2 100644
--- a/INSTALL
+++ b/INSTALL
@@ -140,6 +140,29 @@ you will need to install certain modules for python.
$ sudo easy_install simplejson mako
+Mingw-specific notes:
+---------------------
+
+While gRPC compiles properly under mingw, some more preparation work is needed.
+The recommendation is to use msys2. The installation instructions are available
+at that address: http://msys2.github.io/
+
+Once this is installed, make sure you are using the following: MinGW-w64 Win64.
+You'll be required to install a few more packages:
+
+ $ pacman -S make mingw-w64-x86_64-gcc mingw-w64-x86_64-zlib autoconf automake libtool
+
+Please also install OpenSSL from that website:
+
+ http://slproweb.com/products/Win32OpenSSL.html
+
+The package Win64 OpenSSL v1.0.2a should do. At that point you should be able
+to compile gRPC with the following:
+
+ $ export LDFLAGS="-L/mingw64/lib -L/c/OpenSSL-Win64"
+ $ export CPPFLAGS="-I/mingw64/include -I/c/OpenSSL-Win64/include"
+ $ make
+
A word on OpenSSL
-----------------