DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Overview of Development Systems for SCO OpenServer

C and C++ compilers

SCO OpenServer Release 5.0.7 includes three different C and C++ compilers:

Sometimes trying to choose between these three options can be confusing. To aid your decision, review the above sections, which discuss the advantages and limitations of each development environment.

Additionally, your specific circumstances often help to narrow the choices. The following guidelines may prove useful:

If none of these considerations apply, then the decision is often more a matter of personal preference.

See also:

SCO OpenServer Development System

This is the development system specifically designed for use with SCO OpenServer, and is sometimes referred to as the ``native'' development system because it is used to build most of the SCO OpenServer operating system. It is a licensed product and included on the main SCO OpenServer CD-ROM. Discounts on the license are available if you join the SCO Developer Network.

Reasons to use this development environment include:

Issues to consider:

GNU Development Tools

The GNU Development Tools are a collection of well-known, high-quality Open Source compilers and tools, such as gcc, g++, and gdb, that are used heavily on Linux and on many other UNIX platforms.

For SCO OpenServer Release 5.0.7, the GNU Development Tools are included in a separately-installable package that is available on the main SCO OpenServer CD-ROM. New for Release 5.0.7, the GNU Development Tools are fully supported by SCO. As well, support remains available through the Open Source community.

Reasons to use this development environment include:

Issues to consider:

UnixWare and OpenServer Development Kit (UDK)

The UnixWare and OpenServer Development Kit (UDK) is the most powerful development system available for SCO OpenServer, providing the most current standards conformance. (The UDK is the successor to the UnixWare/OpenServer Development Kit, also referred to as the UODK).

The UDK is a licensed product that is provided in the SCO OpenServer Release 5.0.7 media kit. Discounts are available if you join the SCO Developer Network.


NOTE: UDK-built applications can only execute on SCO OpenServer if the OSRcompat Binary Compatibility Module is installed on both development and application deployment systems.

Reasons to use this development environment include:

Issues to consider:

Building for more than one SCO platform

Many customers want to build application packages that can be used on both SCO OpenServer and UnixWare 7/Open UNIX 8 systems. You have two different ways to approach this:

The advantage of the single binary approach is that it can reduce your development and maintenance costs. The limitation of the single binary approach is that you must confine yourself to using APIs that are present on all SCO UNIX platforms, and you must not link against existing third-party objects or libraries built on SCO OpenServer.

The following code sample illustrates how to test for various SCO UNIX platforms when doing conditional compilations:

   #include <stdio.h>
   

main() { #if defined(_SCO_DS) printf("OpenServer\n"); #elif defined(__UNIXWARE__) printf("UnixWare gcc\n"); #elif defined(__USLC__) #if defined( __STDC_VERSION__ ) && __STDC_VERSION__ == 199409 printf("Gemini I cc (UW7 and UDK)\n"); #else printf("UnixWare cc\n"); #endif #elif defined(M_UNIX) printf("ODT 3 or earlier\n"); #else printf("Other platform\n"); #endif }


Next topic: Java Development Kit (JDK)
Previous topic: Overview of Development Systems for SCO OpenServer

© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003