The Silicon Graphics workstations offered since1990 include: Personal IRIS, GT Graphics, POWERSeries 4D/200, and POWERSeries 4D/300. Data in each pair of bytes is restored in different order on these platforms than the order data is restored on your system. There are two ways to overcome this problem while transferring files:
dd if=/dev/rmt0 conv=swab | tar -xf -
To code a C program in your GL environment, the related GL include files should be specified in the program.
Application programs from a source platform usually invoke unsupported and obsolete subroutines. The glport.h file is provided for those who do not wish to clean up these old interfaces. Include the following statements in the application to declare these old subroutines void:
#define _GL_PORT_C_ 1
On SGI platforms, GL is shipped in two libraries: libgl.a and libgl_s.a. Linking to the first library results in a static link to GKL subroutines: the code for the GL routines is placed directly in the application binary, swelling its size considerably. The second library is a shared library. Linking to it does not pull GL library code into the application binary; rather, the shared library is dynamically loaded when the application is run. This results in a smaller application binary and in decreased memory usage when multiple GL applications are running simultaneously.
On your platform, there is only one library, libgl.a. This library is a shared library by default. One must not link a GL application nonshared on your equipment. On newer SGI GL releases, GL applications must link to both libgl.a and libX11.a, even though X11 is not being used directly. This is not required on your platform; such linkage is performed automatically.
The following GL subroutines are no longer supported. The functions that they formerly accomplished are not applicable to the current system. They are considered obsolete and should not be used in new code development. As an aid to portability, stubs for these subroutines can be found in the /usr/lpp/gl/examples/gifts/glports.h file.
#define getdepth lgetdepth
#define RGBrange IRGBrange
#define setdepth lsetdepth
|callfunc||(define as null in glport.h)|
|setvideo||(define as null in glport.h)|
|getvideo||(define as null in glport.h)|
|setmonitor||(define as null in glport.h)|