c++makefilemingw-w64ace

How to build ACE for MingW-64 no MakeFile in Ace Root


I am attempting to build the ACE library for Mingw GCC 64 bit on Windows. The instructions here state the following:

  1. Install the MinGW tools (including the MinGW Development toolkit) into a common directory, say c:/mingw.

  2. Install the MSYS tools into a common directory, say c:/msys.

  3. Open a MSYS shell. Set your PATH environment variable so your MinGW's bin directory is first:

    % export PATH=/c/mingw/bin:$PATH
    
  4. 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.

  5. Create a file called config.h in the $ACE_ROOT/ace directory that contains:

    #include "ace/config-win32.h"
    
  6. 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.

Issue here:

  1. 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 ?


Solution

  • 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/