Technical article 128047

What is the SCO Extended Development System and Where is the Run-Time?

OpenServer Definitive 2018OpenServer 5

Written · Last revised

Problem

Open Source Software compilation needs newer versions of the GNU Compilation Collection (GCC) & other tools and utilities than those shipped with SCO OpenServer System Release 5 Definitive 2018.

Solution

The OpenServer 5 Definitive Extended Development System (XDEV) is a collection of compilation systems, libraries, programs, tools, and utilities for development on OpenServer 5 Definitive (5D2M1). The XDEV product does not have or require a separate Run-Time.

The initial XDEV release has versions as follows and may or will vary in the future.

XDEV custom product has these initial versions of tools:

GNU Binary Utilities (binutils) ver 2.24 GNU Compiler Collection (gcc) ver 4.2.4 GNU Debugger (gdb) ver 5.3 bzip2 - High-quality Data Compressor ver 1.0.8 bmake NetBSD Make ver 20211020 cmake Build Tool ver 3.6.3 Berkeley DB - An Embeddable Database ver 5.3.28 expect Tool ver 5.45.4 GNU Flex (lex Replacement) ver 2.6.4 libcx (strtoull Function) ver 0.0.1 libnbcompat - Portable NetBSD-Compatibility Library ver 20150419 Public Domain Korn Shell ver 5.2.14 TCL - High-Level Interpreted, Dynamic Programming Language ver 8.5.19 xz Compression Library and Utilities ver 5.2.5 GNU Autoconf ver 2.65 GNU Automake ver 1.16.4 GNU Bison (yacc Replacement) ver 3.8.2 GNU Core Utilities ver 6.7 GNU DejaGNU Test Framework ver 1.6.3 GNU Diff Utilities ver 3.3 GNU Gettext ver 0.19.8.1 GNU GMP - Multiple-Precission Arithmetic Library ver 6.1.2 GNU gperf - Perfect Hash Function Generator ver 3.0.4 GNU groff Text Processing ver 1.20.1 GNU libiconv ver 1.16 GNU libtool ver 2.4.2 GNU M4 Macro Processor ver 1.4.9 GNU make ver 3.80 GNU MPC - Complex High-Precision Number Library ver 1.1.0 GNU MPFR Library - Multiple-Precision Floating-Point Computations Library ver 4.0.2 GNU readline ver 8.1 GNU sed Stream Editor ver 4.2.2 GNU tar - Archiving Program for Storing Multiple Files in a Single Archive ver 1.30 GNU TeXinfo Documentation System ver 4.9

XDEV is provided to develop and run binaries from gcc 4.2.4. applications on OpenServer5 Definitive 5D2M1 and future releases. pth 2.0.7Tc and OSS683D or later are required for XDEV

See also

XDEV Release Notes
https://download.xinuos.com/openserver5D/D2M1/packages/5D_Xinuos_Extended_Development_System.pdf

The following excerpt from the Release Notes, should be helpful:

XDEV requires the following to function:

OpenServer 5 Definitive 2018 - This supplement will not install on older OpenServer releases since those releases lack the required updates to support XDEV.

pth 2.0.7Tc or later version:  Although not required to
install, XDEV requires the pth 2.0.7Tc thread implementation
to function correctly.  There is no official support by Xinuos
for PTH,  It is provided only for use with the OpenServer 5
Defintive vmtools component and the XDEV gcc compiler.
OSS683D, or later version:  Although not required to install
XDEV, the OSS683 patch is needed to provide header file
changes that are carefully constructed to allow OpenServer 5
Definitive application to be correctly defined for both the
original OpenServer 5 compiler and the new XDEV gcc compiler.
We highly recommend installation using patchck.
/etc/patchck -o dev
PORTING NOTES:

Here are some porting notes and recommendations:

This update enables porting applications using the GNU
compiler collection (gcc-4.2.4) while not interfering with
applications that depend on the OpenServer 5 Development
System or the UDK.  We accomplish this by placing the new
compiler in its own new area under  /usr/xdev.

To differentiate between the native SCO Development System and new XDEV Extended Development System, we changed the manifest define from _SCO_DS to __OSR5_GCC__ for the GNU Compiler Collection (GCC) on OpenServer 5 Definitive. The new XDEV GCC compiler supports long long types where the native compiler does not.

For example:
#if defined(_SCO_DS_LL) || defined(__OSR5_GCC__)
    #ifndef _UINT64_T
        #define _UINT64_T
        typedef unsigned long long uint64_t;
    #endif
#endif
Some Open Source Projects will have the native compiler
defines and will need to be changed to the new GCC
define "__OSR5_GCC__" when using the GNU Compiler
Collection (GCC).  If both are desired.
#if defined(_SCO_DS) || defined(__OSR5_GCC__)
or
#if !defined(_SCO_DS) && !defined(__OSR5_GCC__)

When developing applications you may want to update your environment as follows:

Add the appropriate /usr/xdev subdirectories to your PATH, LD_LIBRARY_PATH, LIBPATH, and MANPATH environment variables as appropriate.

For example:
LD_LIBRARY_PATH=/usr/xdev/lib:$LD_LIBRARY_PATH
LIBPATH=/usr/xdev/lib:$LIBPATH
MANPATH=/usr/xdev/man:$MANPATH
PATH=/usr/xdev/bin:$PATH

In this example, the /usr/xdev entries are listed first in the various paths to ensure that the XDEV version of files are used instead of earlier versions.

To use bmake, set the following:
MAKESYSPATH=/usr/xdev/share/mk/
export MAKESYSPATH
When porting applications, we recommend redirecting the
configure command output to a file as well as to your screen.
We typically use 2>&1 | tee output_file.  When asking for
help with porting issues, this output and config.log can
be very helpful to provide.
USER NOTES:

To use the OpenServer 5 Definitive Extended Development System and the utilities that it provides:

Your PATH should include:  /usr/xdev/bin
Some utilities have multiple versions provided by various
OpenServer 5 Definitive 2018 custom products.  For example,
different versions of tar/gtar are provided in these locations:
/usr/bin/tar (original OpenServer 5), /usr/gnu/bin/ta (earlier
GNUTOOLS version), and /usr/xdev/bin/tar (XDEV version).  You
can ensure that the newer XDEV versions of such applications
is used by setting your PATH as follows:
PATH=/usr/xdev/bin:$PATH

To see the XDEV version of manual pages, add /usr/xdev/man to the MANPATH variable and/or in **/etc/default/man** file. As above, placing /usr/xdev/man early in your path ensures that the man command displays it first instead of displaying an earlier version first.

From the Xinuos technical article database, record 128047. Reproduced with permission. The original is at www.sco.com/ta/128047, which is reachable but blocked from search engines.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.