Problem
I have installed gcc and/or g++ and am trying to compile a program that is using the standard tools. However, gcc cannot find these tools, such as stdio.h, stdarg.h and stdlib.h. Where can I obtain these tools?
Cause
These tools are part of the native OpenServer Development System or the SCO OpenServer Linker and Application Development Libraries. Either package must be installed on the system in order for gcc or g++ to access these tools.
Solution
The native OpenServer Development System and the SCO OpenServer
Linker and Application Development Libraries are located on the
OpenServer 5 installation CD. Neither package installs by default
and the Development System requires a license to obtain the full
functionality of it.However, if you do not wish to use the supported native cc or CC
compilers, you can defer this licensing. Defering the licensing of
the Developement System will install the standard tools, but the cc
or CC compilers (and their components, such as make) will not be
usable.To do the following:1. Insert the OpenServer 5 installation CD and run "scoadmin software" or "custom" as root.
2. Select the "Software" menu and choose "Install new..."
3. Select "From <your host>" and select the appropriate CD-ROM drive. This will catalog the products on the CD and may take a minute to complete.
4. From the list that is displayed, select "OpenServer Development System" or "SCO OpenServer Linker and Application Development Libraries".
5. Highlight either one and select "Install". If you have
selected "OpenServer Development System", at some point during
the installation, the system will ask you for a license. If
you have a valid license, insert it here. If you do not have a
license, select defer.When this software is finished installing, you can quit the software manager and recompile your program using gcc or g++.
NOTE: The "ar" archiver for archiving or extracting "object" files to/from a
".a" archive is part of the SCO Development System but is not provided in
the SCO OpenServer Linker and Application Development Libraries"gcc installs differently on OpenServer 5.0.7, it is available on the
OpenServer 5.0.7 Installation CD and can be installed through the
SCOadmin Software Manager. The skunkware package(s) for gcc do not
work properly on OpenServer 5.0.7. See also
ta100501, "What is GNU/FSF software?"