|
|
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:
cd /usr/xlink/src/X11/server
make
This creates an Xsco binary in that directory.
where xxx is your graphics driver name.
make install copies your
xxx.xgi file
to /usr/lib/grafinfo/xxx
and the libXDriver.o file
to /usr/lib/X11/dyddx/xxx/driver.o.
/**/# /**/# 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/**/#
InstallGrafFile(./grafinfo/xxx,xxx.xgi,xxx)
InstallGrafFile
statement 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:
Platform | Command |
---|---|
SCO OpenServer 5 | ./Xsco -crt /dev/tty01 |
SVR5 | ./Xsco -crt /dev/vt01 |