From: Michal Sojka Date: Mon, 28 Oct 2013 21:05:08 +0000 (+0100) Subject: Update README.windows X-Git-Tag: v0.3.4~3 X-Git-Url: https://rtime.felk.cvut.cz/gitweb/orte.git/commitdiff_plain/8a33e886c7a9be43c744537101435bc9a5c45d49 Update README.windows --- diff --git a/README b/README index cafe347..2b09e0d 100644 --- a/README +++ b/README @@ -11,11 +11,11 @@ which is build on top of the standard UDP stack. Which targets are supported by ORTE? ----------------------------------- UNIX - Linux, Solars, MacOS, FreeBSD -Windows - MinGW, CygWin, MSVC, PharLap, ReactOS, Wine +Windows - MinGW, CygWin, MSVC, PharLap, ReactOS, Wine (see README.windows) RTLinux - with preliminary UDP stack RTAI - with RTNet JAVA -Android - see README.android +Android (see README.android) RTEMS Blackberry diff --git a/README.windows b/README.windows index fd458ce..a22b9b6 100644 --- a/README.windows +++ b/README.windows @@ -1,28 +1,29 @@ -Instructions how to compile ORTE for Windows: -============================================= +Instructions how to compile ORTE for Windows +============================================ -ORTE for windows can be compiled by MinGW and Microsoft -Visual C. The library providing pthread API is required -in both cases. +ORTE for Windows can be compiled by MinGW or Microsoft Visual C. A +library providing the pthread API is required in both cases. - -When ORTE is build by Microsoft Visual C the Pthreads-w32 +When ORTE is built by Microsoft Visual C the Pthreads-w32 should be used http://sourceware.org/pthreads-win32/ -When build by MinGW32 then current version (3.0) versions -of MinGW-w64 integrates winpthreads directly in the standard -development tools distribution +When built by MinGW then starting from MinGW-w64 3.0, the winpthreads +library is already integrated in the MinGW distribution http://mingw-w64.sourceforge.net/ -There is inluded local copy of winpthreads library for -the case that older MinGW version is used. +We inlude a local copy of winpthreads library for the case that an +older MinGW version is used. The cross-compilation of ORTE from GNU/Linux system --------------------------------------------------- -The Debian package mingw-w64-i686-dev provides GCC -cross-compiler and libraries. The actual package -used for the build was mingw-w64-i686-dev_3.0.0-2_all.deb. +The Debian package mingw-w64-i686-dev provides GCC cross-compiler and +libraries. After installing that package, one can compile orte for +windows as follows: + + ./configure --host=i686-w64-mingw32 CC=i686-w64-mingw32-gcc + make + make install