Getting Started


g64lint Version 1.0

for UnixWare(R) 7, UnixWare(R) 7.0.1, SCO UnixWare(R) and SCO OpenServer(TM)

A 64-bit hardware architecture provides support for larger address spaces and larger scalar arithmetic ranges. With SCO's plans to provide a 64-bit UnixWare for Intel's 64-bit Merced™ processor at the time that hardware becomes available, developers wishing to make use of these capabilities must address a number of compatibility issues when porting their code. This package contains the tools and 64-bit ready system headers which will allow users to locate and correct potential problem areas in their code.

System Requirements

Software: SCO UnixWare® 2.1.x, UnixWare 7 or later, SCO OpenServer(TM) Release 5.0.x .

Installation

Once you have downloaded the product files from the Download page, perform the following steps as root:

  1. Add the package to your SCO OpenServer Release 5.0.x system using the commands:
  2. $ su

    # tar xvf C*.tar

    # uncompress g64lint.image.Z

    # pkgadd -d `pwd` /g64lint.image

    or

    Add the package to your SCO UnixWare 2.1.x and UnixWare 7 system using the commands:

    $ su

    # tar xvf C*.tar

    # zcat g64lint.image.Z | pkgadd -d-

    The contents of the package will be installed into the directory /g64. This installation path cannot be altered because the g64lint tools expect to find the 64-bit system headers and lint libraries under /g64.

  3. Add "/g64/usr/ccs/bin" to your PATH environment variable.
  4. During installation, you will be prompted to read the license terms.

Removal Instructions

As root, remove the package using these commands:

$ su

# pkgrm g64lint

Reinstallation or Updating

To insure that the system headers and lint libraries accurately reflect the latest information and file structure, this package can be installed only once. Before attempting to reinstall this package or to replace it with a later version of this package, remove the existing g64lint package as described above.

Important Notes

Documentation

g64lint is a 64-bit enabled lint tool that allows users to check their code for most of the potential porting issues . The tool is installed as /g64/usr/ccs/bin/lint. Once users add "/g64/usr/ccs/bin" to the PATH environment variable, the tools can simply be invoked as g64lint. g64lint defaults to LP64 (-K lp64) mode where "long int" and pointer C data types are treated as 64-bit (8 byte) in size. The g64lint can also be run in ILP32 (-K ilp32) to check that the ported code will also continue to function on a 32-bit system. The "64 bit UnixWare Porting Guide" mentions specific diagnostics emitted by the 64-bit C compiler (g64cc). At this time, the 64 bit C compiler is not available to the general public. A 64 bit C compiler front-end, i.e., no 64-bit code generation, will be made available in the future. System Headers: The current set of 64-bit ready system header files is installed in /g64/usr/include. Later releases of this package will contain updates and additions as these header files are refined during the on-going development of 64 bit UnixWare.

General information on how to use lint is available in:

SCO also has available the "64 bit UnixWare Porting Guide" which covers general 32 bit to 64 bit porting issues and describes the changes in UnixWare system scalar types that will be made to accommodate a 64 bit address space. See also "Making your Drivers 64 bit Ready."

Licensing

The g4lint tool is licensed under the same terms as the host SCO Operating system upon which it is installed.

Product Updates

Visit http://www.sco.com/developer/products.htm for product information, updates, patches, and other product assistance. Questions or problem reports concerning the g64lint tools can be addressed to: unison64@sco.com.