|OpenLDAP Faq-O-Matic : OpenLDAP Developer's FAQ : Porting OpenLDAP : Porting to MinGW|
This category details how to build MinGW-targeted OpenLDAP 2.x in a Cygwin environment.|
(Updated December 18, 2001)
This flavor of OpenLDAP is built by a version of GCC that recognizes the "mingw" target. This version of GCC will generate x86 object code that implicitly links with Microsoft's dynamic C run-time and Win32 libraries.
Although MinGW-targeted OpenLDAP builds, it has not been thoroughly tested. Not all configuration/build features are supported.
The following configuration/build features ARE supported:
Please read all of the associated documents in this category.
MinGW support for slurpd and the test suite were added to the OpenLDAP 2.1.3 release. The code is known to run and all the self-tests pass, although some hand-editing of config file paths (slashes in directory paths) may be needed.
Building under MSYS is possible as well, but you need the cygpath utility from Cygwin in a couple of places. The easiest thing is to simply append your Cygwin bin directory to the end of your PATH before running make. Otherwise, building in the MSYS environment is much the same as building under Cygwin.
|Answers in this category:|
MinGW Support in Cygwin
Building MinGW OpenLDAP in a Cygwin Environment
|[New Answer in "Porting to MinGW"]|
|Previous:||Porting to Cygwin|
|Next:||Porting to IBM OS/390|