I am attempting to build the ACE library for Mingw GCC 64 bit on Windows. The instructions here state the following:
Install the MinGW tools (including the MinGW Development toolkit) into a common directory, say c:/mingw
.
Install the MSYS tools into a common directory, say c:/msys
.
Open a MSYS shell. Set your PATH
environment variable so your MinGW's bin directory is first:
% export PATH=/c/mingw/bin:$PATH
Add an ACE_ROOT
environment variable pointing to the root of your ACE wrappers source tree:
% export ACE_ROOT=/c/work/mingw/ACE_wrappers
From now on, we will refer to the root directory of the ACE source tree as $ACE_ROOT
.
Create a file called config.h in the $ACE_ROOT/ace
directory that contains:
#include "ace/config-win32.h"
Create a file called platform_macros.GNU in the $ACE_ROOT/include/makeinclude
directory containing:
include $(ACE_ROOT)/include/makeinclude/platform_mingw32.GNU
In the above text, don't replace $(ACE_ROOT)
with the actual directory, GNU make will take the value from the environment variable you defined previously.
If you lack Winsock 2, add the line
winsock2 = 0
before the previous one.
If you want to install ACE (using "make install") and want all the .pc files generated, set the installation prefix in platform_macros.GNU.
INSTALL_PREFIX=/c/ACE
Headers will be installed to $INSTALL_PREFIX/include
, documentation and build system files to $INSTALL_PREFIX/share
and libraries to $INSTALL_PREFIX/lib
. With INSTALL_PREFIX
set, RPATH
will be enabled. To disable RPATH
(for example, if $INSTALL_PREFIX/$INSTALL_LIB
is already a system-known location for shared libraries), set the make macro install_rpath to 0 by adding install_rpath=0
to platform_macros.GNU.
In the MSYS shell, change to the $ACE_ROOT/ace
directory and run make:
% cd $ACE_ROOT/ace
% make
Now I noticed that there is no MakeFile in ACE_ROOT/ace
which is C:\mingw64\Other\ACE_wrappers\ace
I downloaded my ACE stuff from here. Any suggestions on what I might be doing wrong ? did I download something wrong ?
You seem to have downloaded the source only distribution, please download the full package, that includes also the GNU makefiles, see http://download.dre.vanderbilt.edu/