2.3. Building Connext Micro

This section is for users who are already familiar with CMake and may have built earlier versions of Connext Micro. The sections following describe the process in detail and are recommended for everyone building Connext Micro.

This section assumes that the Connext Micro source-bundle has been downloaded and installed, that CMake (version 2.8.4 or higher) has been added to your PATH environment variable, and that the $RTIMEHOME environment variable has been set to the installation directory path for Connext Micro.

  1. Make sure CMake (2.8.4+) is installed and available on your path.

  2. Run the rtime-make script.

    On UNIX®, Linux®, and macOS® systems:

    $RTIMEHOME/resource/scripts/rtime-make --config Debug --target self \
                --name i86Linux2.6gcc4.4.5 -G "Unix Makefiles" --build
    

    On Windows® systems:

    $RTIMEHOME\resource\scripts\rtime-make --config Debug --target self \
            --name i86Win32VS2010 -G "Visual Studio 10 2010" --build
    

    Note

    rti-make uses a series of arguments to build Connext Micro for the appropriate environment. Please refer to Building Connext Micro with rtime-make for details.

  1. You will find the compiled Connext Micro libraries here:

    On UNIX-based systems:

    $RTIMEHOME/lib/i86Linux2.6gcc4.4.5
    

    On Windows systems:

    $RTIMEHOME\lib\i86Win32VS2010
    

    Note

    rtime-make uses the platform specified with --name to determine a few settings needed by Connext Micro. Please refer to Preparing for a Build for details.

For help, enter:

$RTIMEHOME\resource\scripts\rtime-make --help

To list available targets, enter:

$RTIMEHOME\resource\scripts\rtime-make --list

For help with a specific target, except self, enter:

$RTIMEHOME\resource\scripts\rtime-make --target <target> --help