Product Documentation

Knowledgebase

Previous Topic

Next Topic

mtmake Command Line

FairCom DB mtmake Make Utility

The mtmake build utility can be used to configure your FairCom DB libraries. Note this is optional for client/server applications since the mtclient.lib (libmtclient.a) is included in the FairCom DB package, and it is mandatory for Standalone customers. You will find this utility in the drivers\build\build_sdk folder for FairCom DB and later (/pro directory for V11 and earlier) and in the build_sdk\build folder for the FairCom DB Standalone SDK package.

Note: Starting with V12 the "mtmake" subsystem is in a .zip file (a gzipped .tar ball on Linux/Unix). Go to buildsdk\build and expand the source*.zip to obtain access to the mtmake.exe make subsystem.

Note: If you have previously constructed automated build processes you may need to change some keystroke options passed to mtmake as they may have changed.

Advanced Options

Many users may not know that mtmake has numerous advanced options to tailor the FairCom DB libraries for specific needs or exacting size footprints (consider embedded devices). Execute mtmake with a question mark ("?") for a listing of these advanced options.

> mtmake ?

A display of options and their descriptions is shown below. Contact FairCom if you have any questions for how to tailor the FairCom DB libraries for your unique application needs.

mtmake options

Required Libraries for compiling applications

For examples of how to compile your client application, consult the ctree.mak file created when you execute mtmake.exe.

The following libraries are required when building C/C++ applications.

Linux:

OpenSSL 1.0.2t

SSL support needs to be installed on most Linux distros.

The correct version of OpenSSL is included in our package and our make file points to it.

To include the proper encryption system libraries, you will likely need to add the following link switches:

-lssl -lcrypto

You can review /drivers/c.isam/tutorials/cmdline/Makefile for a working example of building C and C++ applications.

Libz

Compression support. needs to be installed on CentOS.

libncurses5

Text based interface is included on most Linux distros.

gcc, make

Compiling tutorials are included on most Linux distros.

glibc

Included in most Linux distros. If your glibc is before 2.17 you will also have to include the rt library (-lrt) for “clock_gettime”.

Windows:

MS Visual Studio Runtime

  • user32.lib
  • gdi32.lib
  • winspool.lib
  • comdlg32.lib
  • advapi32.lib
  • shell32.lib
  • kernel32.lib
  • oldnames.lib
  • crypt32.lib

TOCIndex