Home > Programming > CORBA > TAO with C++Builder > Building TAO >
Quick Build Instructions

These are the basic steps for building TAO, without any detailed background information. If you run into problems please read the detailed instructions.

  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. If you are building on Windows 95 (or Windows 98), download this utility and put the .exe on your path (e.g. in C:\Windows). Then type:

    set MKDIR=mkdirtree
    before continuing.

  5. Change to the ace source directory:

    cd C:\ACE_wrappers\ace

  6. If you are building on Windows NT or Windows 2000, create a config header file:

    echo #include "ace/config-win32.h" > config.h

    If you are building on Windows 95 (or 98), you should create a config header file like this:

    echo #define ACE_HAS_WINNT4 0 > config.h
    echo #include "ace/config-win32.h" >> config.h

  7. Change to the TAO source directory:

    cd C:\ACE_wrappers\TAO

  8. Build the ACE+TAO libraries and executables for use in console applications:

    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

  10. If you are using C++Builder 4, optionally build and install the ACE+TAO libraries and executables for use in VCL applications (in C++Builder 5 you can simply use the libraries you built above):

    make -f Makefile.bor -DPASCAL
    make -f Makefile.bor -DINSTALL_DIR=C:\ACETAO -DPASCAL install

  In this section

 Introduction 

 Obtaining TAO 

 Building TAO 

 Using TAO 

 Patches 

 Support 

 Feedback 


Copyright © 2000-2002 Tenermerx Pty Ltd