<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>Compiling XFree86 under Open Server 5</TITLE>
</HEAD>
<BODY BGCOLOR="#efefef" TEXT="black" LINK="blue" VLINK="#551A8B" ALINK="red">

<A HREF="SCO.html"><EM>Information for SCO Users</EM></A>
 <b>:</b> <EM>Compiling XFree86 under Open Server 5</EM><BR>
<b>Previous:</b> <A HREF="SCO6.html"><EM>Using SCO binaries/servers.</EM></A><BR>
<b>Next:</b> <A HREF="SCO8.html"><EM>Relevant Documentation</EM></A>


<HR NOSHADE>
  <H2><A NAME="7"></A>7. Compiling XFree86 under Open Server 5</H2>

<p>As of GCC version 2.8.0, Open Server is supported. Configure it by
using the following:
<blockquote><code>
<pre>
    ./configure i486-sco3.2v5.0
</pre>
</code></blockquote>
</p>

<p>There is no reason to modify gcc in any way.  It compiles cleanly on
Open Server 5.</p>

<p>SCO Open Server 5.0 is recognised automatically by XFree86. You do not
need to specify any <code>BOOTSTRAPCFLAGS</code> parameters when doing a
<code>make World</code>. You can ignore the warning message about
<code>BOOTSTRAPCFLAGS</code> at the very beginning of a <code>make World</code>.</p>
<p>
<ol>
<li>Fine tune ``<code>site.def/xf86site.def</code>''<p>Use GCC if you can. XFree should compile with the DevSys cc, but GCC has
better optimizations, and is guaranteed to work.</p>

</li>
<li>SCO Open Server comes with Visual
TCL, which is an old (and incompatible) version of TCL. If you want to
use XF86Setup you will have to compile Tcl and Tk yourself. Both are
supported well on SCO Open Server 5. Tcl 7.6 and Tk 4.2 are available
from <code>ftp://ftp.smli.com/pub/tcl</code>.
</li>
<li>You may want to disable dynamic loading support. Several users have
reported trouble with this. XIE and PEX5 definitely do not work. If
you want to experiment, try enabling this. Please report successes or
failures to me.
</li>
<li>Do <b>not</b> enable the <code>HasSVR3mmapDrv</code> as you may have done
in older versions of SCO. Open Server 5 has full mmap() support, and
this is used for direct frame buffer access.
</li>
<li>If you know you will not ever be using COFF binaries, and you are
short of space, set <code>ForceNormalLib</code> to <code>NO</code>. Doing this
will cause only the ELF versions of the libraries to be built.
``<code>sco5.cf</code>'' sets this to <code>YES</code> by default, so you must
explicitly set it to <code>NO</code> in ``<code>xf86site.def</code>''.
All binaries are compiled in ELF mode to reduce space.
</li>
</ol>
</p>

 <HR NOSHADE>
<A HREF="SCO.html"><EM>Information for SCO Users</EM></A>
 <b>:</b> <EM>Compiling XFree86 under Open Server 5</EM><BR>
<b>Previous:</b> <A HREF="SCO6.html"><EM>Using SCO binaries/servers.</EM></A><BR>
<b>Next:</b> <A HREF="SCO8.html"><EM>Relevant Documentation</EM></A>



</BODY>
</HTML>
