Installing the SDK: 4 Compiling GEOS Applications

Up: GEOS SDK TechDocs | Up | Prev: 3 Launching NT GEOS and Swat | Next: 5 Directory Structure

To compile GEOS C code, you need the following third-party software installed on your system:

Your PATH variable must include the Borland compiler's bin directory and the directory containing the perl interpreter. If you installed Borland C++ after the NT SDK or if you set up a network environment, you may need to set the environment variable GOC_COMPILER_DIR to reflect the compiler's location. Refer to Environment Configuration .

Borland C++ is a separate product on its own CD-ROM. We strongly recommend that you install version 4.5 of the compiler, included with most distributions of version 5.0. A change in the compiler's handling of #pragma options creates errors (not reported at compile time) in geodes compiled with version 5.0. You must install the 32-bit Windows compiler, a part of the "typical" installation.

A shareware version of the perl installer has been included with the SDK; refer to Installation and Setup for installation instructions.

All of the tools needed to compile geodes (goc, glue, etc.) have been included in the \pcgeos\bin directory. Use mkmf and pmake to compile, as described in the chapter "Using Tools" of the Tools book. ( pmake depend is not needed in the NT environment.)

After compiling, copy resulting geodes directly to your target tree from the command line or use Swat's send command after attaching. world\extrapps is the appropriate demo directory for extras on the Nokia 9000i Communicator.

Changes From the DOS SDK

If you are familiar with GEOS development in the DOS environment, note the following changes:


Up: GEOS SDK TechDocs | Up | Prev: 3 Launching NT GEOS and Swat | Next: 5 Directory Structure