Because the dynamically linked version of the X server is very difficult to debug, the X Link kit allows you to create a statically linked X server for testing purposes. Once you have written and compiled your libXDriver.o file, you must create a static X server to debug your driver. To do so, complete the following steps:
This creates an Xsco binary in that directory.
where xxx is your graphics driver name.
make install copies your
and the libXDriver.o file
/**/# /**/# You may want to change the target and destination directories /**/# "./grafinfo/xxx" and "xxx" in the install rule below to the /**/# manufacturer's name of your video adapter. Then update the /**/# VENDOR string in your xxx.xgi file to match this directory /**/# name. /**/#Modify
InstallGrafFilestatement with the new grafinfo file name.
VENDOR IBM "IBM" MODEL IBM864 "S3 864" CLASS S3V "" MODE 1280x1024-256-75 "1280x1024 256 Colors, 75Hz, 2MB"This grafinfo file name is /usr/lib/grafinfo/ibm/ibm864.xgi.
Although make install installs your libXDriver.o file, this file is not used by the static server. It is only used by the dynamic server.
To run the X server from a telnet or rlogin session over the network or from a serial terminal cd to the /usr/xlink/src/Xserver directory and issue the appropriate command:
|SCO OpenServer 5||./Xsco -crt /dev/tty01|
|SVR5||./Xsco -crt /dev/vt01|