Are you concerned with ensuring that your application has the smallest footprint possible? Do you lack C++ support in your environment? With recent advancements in the c-tree Plus core technology, the size and complexity of the proven c-tree Plus libraries have grown somewhat. However, FairCom has always been sensitive to the requirements of providing small, fast and portable libraries. c-tree Plus and its mtmake library generation utility give you the flexibility to determine exactly how to build c-tree Plus to meet the exacting demands of your application.
In V7.12 of c-tree Plus, FairCom introduced two new programming APIs, c-treeDB C and c-treeDB C++, allowing easy C/C++ database development. c-treeDB provides application developers a simple interface into the powerful core of c-tree Plus with advanced functionality in order to easily create and maintain databases.
Since the advantages that c-treeDB brings are so great, the c-tree libraries now include the c-treeDB C and C++ interfaces by default beginning with the V8.14 release of c-tree Plus. With this change, the default code size of the libraries has increased somewhat. However, you can revert to the smaller libraries and easily exclude these API’s with our flexible m-tree make system. This is possible since the c-treeDB code relies on the presence of the ISAM interface while the reverse has no such dependency.
By creating a library that excludes the c-treeDB API, your footprint becomes smaller and the resulting application somewhat faster.
To exclude the entire c-treeDB API when building libraries that require only the ISAM API, issue the following command when building your libraries.
>mtmake -ctdb
Some developers may want to take advantage of the ease of use the c-treeDB layer provides, yet do not require support for C++ development. These users can avoid including support for the c-treeDB C++ API by issuing the following command when building libraries:
>mtmake -ctpp
A troubleshooting tip: If you experience unusual problems compiling the c-tree libraries on your platform with what appear to be C++ compiler errors, removing the c-tree DB C++ dependencies should allow a successful build.
"It's really nice to know we chose the right product and company when we many years ago started using c-tree. There really wasn't much choice in those days on the Macintosh platform, but we couldn't have made a better choice. And now, when we are looking to port our applications to other platforms such as Mac OS X, Linux and Windows, c-tree is already there. Makes things so much easier for me."
Björn Lydeen
Software Developer, Montania System AB