README for XFree86 4.0.2 on OpenBSD : Rebuilding the XFree86 Distribution
Previous: Kernel Support for X
Next: Building New X Clients

8. Rebuilding the XFree86 Distribution

The server developer's kit allow you to rebuild just the X server with a minimum amount of disk space. Just unpack it, make the appropriate changes to the xf86site.def, type ``./mkmf'' and ``make'' to link the server. See /usr/X11R6/lib/Server/README for more info.

You should configure the distribution by editing xc/config/cf/host.def before compiling. To compile the sources, invoke ``make World'' in the xc directory.

8.1. Console drivers

XFree86 has a configuration option to select the console drivers to use in host.def:

If you don't define XFree86ConsoleDefines in host.def the pccons and pcvt drivers will be supported by default.

Experimental native support for the wscons console driver found on OpenBSD/powerpc and on OpenBSD/i386 -current can be built by adding:

 #define XFree86ConsoleDefines -DWSCONS_SUPPORT
to xc/config/host.def before rebuilding the server. This has not been thoroughly tested, except on the macppc.

8.2. Building on other architectures

XFree86 should also compiles on other OpenBSD architectures. However, please note that 3.9.x snapshots have only been tested on the i386 for now.


README for XFree86 4.0.2 on OpenBSD : Rebuilding the XFree86 Distribution
Previous: Kernel Support for X
Next: Building New X Clients