Building The New Server

# 7 Building The New Server

Contents of this section

As in the setup work, the steps for building the server depend whether you are working in the source tree or in the Link Kit. Here are the steps for the initial build after installing your new driver files:

- If you are working in the source tree, follow these steps: Go to xc/programs/Xserver, and enter ``make Makefile`', then ``make Makefiles depend all`'
- If you are working in the Link Kit, follow these steps:
  1. Go to /usr/X11R6/lib/Server, and enter ``./mkmf`'
  2. In the same directory, enter ``make`'

To rebuild the server after the initial build (e.g. after making changes to your driver):

- If you are working in the source tree, follow these steps:
  1. Go to the appropriate drivers/ directory (e.g., xc/programs/Xserver/hw/xfree86/vga256/drivers), and enter ``make`'.
  2. Go to xc/programs/Xserver, and enter ``make loadXF86_SVGA`' (to link the color server), ``make loadXF86_VGA16`' (to link the 16 color server) or ``make loadXF86_Mono`' (to link the mono server).
- If you are working in the Link Kit, follow these steps:
  1. Go to the appropriate driver directory, and enter ``make`'.
  2. Go to /usr/X11R6/lib/server, and enter ``make loadXF86_SVGA`' (to link the color server) or ``make loadXF86_VGA16`' (to link the 16 color server) or ``make loadXF86_Mono`' (to link the mono server).

Next Chapter, Previous Chapter

Table of contents of this chapter, General table of contents

Top of the document, Beginning of this Chapter