- Platform
suselinux 1.0
linux kernel 2.6.13
gcc 4.02 - Build ACE with new Proactor
2.1. copy all files from ace_new/ace to $ACE_ROOT/ace
2.2. Add following files to <libACE_Demux_la_SOURCES> section of $ACE_ROOT/ace/Makefile.am
POSIX_AIO_Config.cpp/
POSIX_AIO_Strategies.cpp /
POSIX_AIO_Provider.cpp /
POSIX_AIO_STD_Provider.cpp /
POSIX_AIO_SGI_Strategy.cpp /
POSIX_AIO_SUN_Provider.cpp /
POSIX_AIO_Select_Provider.cpp /
POSIX_AIO_Select_Strategy.cpp /
POSIX_AIO_Poll_Strategy.cpp /
POSIX_AIO_Dev_Poll_Strategy.cpp /
POSIX_AIO_Event_Poll_Strategy.cpp /
POSIX_AIO_Linux_RT_Strategy.cpp /
POIXI_AIO_LINUX_Provider.cpp /
POSIX_AIO_Processor.cpp /
POSIX_AIO_Dedicated_Processor.cpp /
POSIX_AIO_Dispatcher.cp
2.3 Add following files to <TEMPLATE_FILES> section of $ACE_ROOT/ace/Makefile.am
POSIX_AIO_Allocator.cpp
2.4 Add following files to <> seciont of $ACE_ROOT/ace/Makefile.am
POSIX_AIO_Config.h /
POSIX_AIO_Allocator.h /
POSIX_AIO_Strategies.h /
POSIX_AIO_Provider.h /
POSIX_AIO_STD_Provider.h /
POSIX_AIO_SGI_Strategy.h /
POSIX_AIO_SUN_Provider.h /
POSIX_AIO_Select_Provider.h /
POSIX_AIO_Select_Strategy.h /
POSIX_AIO_Poll_Strategy.h /
POSIX_AIO_Dev_Poll_Strategy.h /
POSIX_AIO_Event_Poll_Strategy.h /
POSIX_AIO_Linux_RT_Strategy.h /
POIXI_AIO_LINUX_Provider.h /
POSIX_AIO_Processor.h /
POSIX_AIO_Dedicated_Processor.h /
POSIX_AIO_Dispatcher.h - $ACE_ROOT/ace/config.h
#if defined (_WIN32)
# include "config-win32.h"
#elif defined (linux)
// uncomment the following line
// if you want to include LINUX_Provider
// Linux NAIO (io_getevents/io_submit)
// must be kernel 2.6
# define ACE_HAS_LINUX_LIBAIO
// uncomment the following line
// if you want to include Event_Poll_Strategy
// Linux epoll interface
// must be kernel 2.6
#define ACE_HAS_LINUX_EPOLL
# include "config-linux.h"
#elif defined (sun)
# include "config-sunos5.8.h"
#elif defined (__xlC__) || defined (__IBMCPP__)
//
// uncomment the following line if you
// don't want to use AIX native AIO
//# define ACE_HAS_AIO_EMULATION
# include "config-aix5.1.h"
#endif - Make ACE
> cd $ACE_ROOT
> ./bin/create_ace_build.pl
> autoreconf -I m4
> cd build
> ../configure --enable-ipv6
> make
> su
> make install