TAO can be obtained electronically via the WWW and ftp. Bundled with the TAO release is ACE. You will need the most recent version of ACE because TAO tends to track changes to ACE rather closely.
A quick build note for users who have used ACE with other ORBs: linking TAO with a version of ACE that is also linked against another ORB vendor's library, e.g., liborbix.so, will produce undefined and most likely unpredictable and erroneous results.
ACE_ROOT
environment variable as outlined in
the ACE
installation notes.
$ACE_ROOT
.
$ACE_ROOT/ace
and execute
make
.
TAO_ROOT
environment variable to
$ACE_ROOT/TAO
.
$TAO_ROOT
.
$TAO_ROOT/tao
and
execute make
.$TAO_ROOT/tests
and
execute make
.
$TAO_ROOT/tests
.
Since TAO is built on top ofACE, TAO re-uses ACE's Makefile structure
as well. Thus, just like ACE requires GNU Make, so too does TAO.
More exactly, versions of make
which are known to
not work include those from Solaris 4.x and 5.x, HP-UX, the
latest BSD, etc.
make
which are known to not
work include those from Solaris 4.x and 5.x, HP-UX, the latest BSD,
etc. GNU Make can be obtained from various places in source form.
TAO_IDL
on NT, you may need to set the
environment variable CPP_PATH
to where CL.exe is
installed on your machine. By default, we set this variable to
"C:/Program Files/DevStudio/VC/bin". Your location may vary, however.
Notice that if you forget to set this variable before compiling
TAO_IDL
, you can use CPP_LOCATION
to specify
the absolute pathname to CL.exe. We set it to "C:/Program
Files/DevStudio/VC/bin/CL.exe" when we do use it.Remember to set up ACE before building TAO.
It works best if TAO is placed in ACE_wrappers so TAO ends up in
ACE_wrappers\TAO
because the Visual C++ 5 Project files
are set up to work in this configuration. If you move it, then make
sure you change the project file to look for the include and library
files in the correct place. If you are using TAOACE.dsw then you shouldn't need to worry about
this.
tao\TAO.dsw
and build the TAO
library.
tests\Cubit\TAO\test.dsw
and build both client
and server.
TAOACE.dsw is a Visual C++ 5 workspace that loads the projects ACE, TAO, TAO_IDL (the compiler), and orbsvcs. The dependencies are set up to correctly between the projects so for example, ACE will be built automatically when TAO is built.
ACE_wrappers\TAO
if installed there). The library files
paths should include ACE_wrappers\ace
.
tao\TAO.mdp
and build the TAO library.
tests\Cubit\TAO\test.mdp
and build both client and server.
Each IDL file generates .h, .i and .cpp files. Here is an example of adding an IDL file named foobar.idl into a VC project.
..\..\..\TAO_IDL\tao_idl $(InputName).idlNotice that your absolute path to TAO_IDL may vary.
$(InputName)S.h $(InputName)S.i $(InputName)S.cpp $(InputName)C.h $(InputName)C.i $(InputName)C.cppAdd only one entry in each line.
p.s. If anyone knows how to set a default setting in VC so we don't need to perform these procedures every time a new project gets set up, please let us know. Thanks.
Back to the TAO home page.