ACE+TAO and Naming Service

Building ACE+TAO and Naming Service can be difficult.  The default build which compiles everything takes hours to complete.  To speed up the process, I usually compile the items I want selectively.  But it took hours as well, because I’ve been making mistake due to the clarity of the documentation.  I did it again yesterday but this time I’m going to write down the steps, so that I won’t need to go through the reading, testing, redoing another round.

cd ~
tar jxf ACE+TAO-x.y
mv ACE_wrapper ACE+TAO-x.y
export ACE_ROOT=~/ACE-x.y
cd $ACE_ROOT
echo '#include "ace/config-linux.h"' > $ACE_ROOT/ace/config.h
echo 'include $(ACE_ROOT)/include/makeinclude/platform_linux.GNU' > $ACE_ROOT/include/makeinclude/platform_macros.GNU
make -C ace -j3
make -C apps/gperf/src -j3
make -C TAO/TAO_IDL -j3
make -C TAO/tao -j3
make -C TAO/orbsvcs -j3 Naming_Service-target

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: