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.
Software: SCO UnixWare® 2.1.x, UnixWare 7 or later, SCO OpenServer(TM) Release 5.0.x .
Once you have downloaded the product files from the Download page, perform the following steps as root:
$ 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.
As root, remove the package using these commands:
$ su
# pkgrm g64lintTo 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.
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."