TAO may be built in several different configurations. You should choose the
configuration most appropriate to your needs (there may be more than one).
Option |
Description |
Suffix |
Default |
DEBUG |
If enabled causes the TAO binaries to be built with debug information. You may want
to build debug libraries if you want to track down a problem in TAO. |
d |
Off |
STATIC |
Determines whether to use statically linked libraries instead of DLLs. When using
DLLs you must also ship your application with the C++Builder run-time library and TAO DLLs. Using static libraries will
remove this need, but the static libraries themselves can be very large (especially when built with debug
information). |
s |
Off |
PASCAL |
Determines whether TAO is built against the VCL-compatible run-time library (i.e.
for C++Builder 4 it links against cp3245mt.dll instead of cw3245mt.dll).
You will need to enable this if you want to use TAO in a VCL application. Note:
this configuration is not required for C++Builder 5, the non-VCL libraries will
work in VCL applications. |
p |
Off |
CODEGUARD |
If enabled causes TAO binaries to be built with Codeguard support. Should be
used only when DEBUG is also on. Does not have any affect on the output
directory, and is only supported for C++Builder 5. |
|
Off |
These options may be switched on by using environment variables, for example:
set DEBUG=1
and turned off again:
set DEBUG=
You may also enable the options by passing them as command line options to make, for example:
make -f Makefile.bor -DDEBUG -DPASCAL
In addition to modifying the compiler options used to build TAO, these configuration options determine
the output directory of the binaries. When building the dynamically linked released version
the core executables and utilities are put in C:\ACE_wrappers\bin\Dynamic\Release,
VCL-compatible versions in C:\ACE_wrappers\bin\Dynamic\Release\Pascal,
debug versions in C:\ACE_wrappers\bin\Dynamic\Debug and so on.
The filename of libraries is also affected by configuration options. All libraries are given a "_b" suffix
to indicate that it is a library for a "Borland" compiler. Other suffixes are added according to the table
above. For example, the VCL-compatible debug version of the TAO DLL is called
tao_bpd.dll.