Home > Programming > CORBA > TAO with C++Builder > Building TAO >
Build Steps

The basic steps for building TAO are:

  1. Open a Command Prompt (DOS Box).

  2. Set the ACE_ROOT environment variable to the path where you unpacked the source kit:

    set ACE_ROOT=C:\ACE_wrappers

  3. Let the build process know what version of C++Builder you are using:

    If you are using C++Builder 4:

    set BCBVER=4

    If you are using C++Builder 5 or the Borland C++ 5.5 command line tools:

    set BCBVER=5

  4. Change to the TAO source directory:

    cd C:\ACE_wrappers\TAO

  5. Set desired build options for the configuration you want.

  6. In Windows 9x the mkdir command does not allow you to create a directory tree in a single invocation. This ability is required by the ACE+TAO makefiles. Download this utility and put the .exe on your path (e.g. in C:\Windows). Then type:

    set MKDIR=mkdirtree
    before continuing with the build.

  7. Build the core TAO libraries and executables by going:

    make -f Makefile.bor
    Note: On some systems you may get an error from make saying the command-line arguments are too long. If this happens, try using the -l option when you run make.

  8. If you like, you can build the TAO examples by going:

    cd examples
    make -f Makefile.bor

  9. Install the ACE+TAO header files, libraries and executables for use in your applications. Here we are installing them into C:\ACETAO:

    make -f Makefile.bor -DINSTALL_DIR=C:\ACETAO install
    Please note that this installation step is only for recent ACE+TAO beta kits, not TAO 1.1.

  In this section

 Introduction 

 Obtaining TAO 

 Building TAO 

 Using TAO 

 Patches 

 Support 

 Feedback 


Copyright © 2000-2002 Tenermerx Pty Ltd