]> rtime.felk.cvut.cz Git - orte.git/blob - README.windows
Add shell.nix
[orte.git] / README.windows
1 Instructions how to compile ORTE for Windows
2 ============================================
3
4 ORTE for Windows can be compiled by MinGW or Microsoft Visual C. A
5 library providing the pthread API is required in both cases.
6
7 When ORTE is built by Microsoft Visual C the Pthreads-w32
8 should be used
9
10   http://sourceware.org/pthreads-win32/
11
12 When built by MinGW then starting from MinGW-w64 3.0, the winpthreads
13 library is already integrated in the MinGW distribution
14
15   http://mingw-w64.sourceforge.net/
16
17 We inlude a local copy of winpthreads library for the case that an
18 older MinGW version is used.
19
20 The cross-compilation of ORTE from GNU/Linux system
21 ---------------------------------------------------
22
23 The Debian package mingw-w64-i686-dev provides GCC cross-compiler and
24 libraries. After installing that package, one can compile orte for
25 windows as follows:
26
27   ./configure --host=i686-w64-mingw32 CC=i686-w64-mingw32-gcc
28   make
29   make install