<!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>Building on microSPARC and PowerPC</TITLE>
</HEAD>
<BODY BGCOLOR="#efefef" TEXT="black" LINK="blue" VLINK="#551A8B" ALINK="red">

<A HREF="LynxOS.html"><EM>README for XFree86 on LynxOS</EM></A>
 <b>:</b> <EM>Building on microSPARC and PowerPC</EM><BR>
<b>Previous:</b> <A HREF="LynxOS6.html"><EM>Compiling the XFree86 Distribution</EM></A><BR>
<b>Next:</b> <A HREF="LynxOS.html"><EM>README for XFree86 on LynxOS</EM></A>


<HR NOSHADE>
  <H2><A NAME="24"></A>7. Building on microSPARC and PowerPC<A NAME="others"></A></H2>

<p>XFree86 3.3 compiles on LynxOS microSPARC and on LynxOS PPC as well. On the
microSPARC there is X server support for the colour frame buffers CG3 and CG6
while on the PPC there is no X server available at this time. Before you 
start the build (on versions earlier than 2.5.0) you must create a symbolic
link from the CYGNUS gcc to a file named <code>cc</code> somewhere in a 
directory included in your PATH environment variable.</p>

<H3><A NAME="25"></A>7.1. Console driver patch for microSPARC</H3>

<p>Before building on the microSPARC you should install the patch for the console
driver supplied in <code>xc/programs/Xserver/hw/sunLynx/patch.Console</code>.
(<code>xc/programs/Xserver/hw/sunLynx/patch.Console-2.4.0</code> for LynxOS 
revisions earlier than 2.5.0).
The patch fixes minor problems in the original LynxOS driver and adds 
functionalities to detect the keyboard type and control the key click.
To create a backup of the original driver and install the patch issue 
the commands
<blockquote><code>
<pre>
 # cd /
 # tar cf /sys/drivers/console.tar /sys/drivers/console
 # patch -p -E &lt; xc/programs/Xserver/hw/sunLynx/patch.Console
 # cd /sys/drivers/console
 # make install
 # cd /sys/lynx.os
 # make install
 # reboot -a
</pre>
</code></blockquote>
</p>
<p>If you opt not to install the patch you must edit <code>xc/config/cf/lynx.cf</code>
and change the definition of <code>SparcConsoleDefines</code>
<blockquote><code>
from
<pre>
       #define SparcConsoleDefines    -DPATCHED_CONSOLE
  
</pre>

to
<pre>
       #define SparcConsoleDefines    /* -DPATCHED_CONSOLE */
  
</pre>
</code></blockquote>
</p>

<H3><A NAME="26"></A>7.2. Known Bug of the microSPARC server</H3>

<p>On the first start of the X server on the microSPARC you will notice that
the pointer follows mouse movements with a certain delay (especially if
you're moving the mouse real fast). You will also notice that moving 
windows with certain window managers (eg mwm) is not working correctly. 
These effects should go away on the next server start.</p>
<p>The server for monochrome cards builds properly if you enable it in
<code>lynx.cf</code> but it has never been tested (reports are welcome).</p>
<p>
<pre>
$XFree86: xc/programs/Xserver/hw/xfree86/doc/sgml/LynxOS.sgml,v 3.14.2.10 1999/06/02 07:51:49 hohndel Exp $





$XConsortium: LynxOS.sgml /main/10 1996/10/28 05:13:07 kaleb $
</pre>
</p>
 <HR NOSHADE>
<A HREF="LynxOS.html"><EM>README for XFree86 on LynxOS</EM></A>
 <b>:</b> <EM>Building on microSPARC and PowerPC</EM><BR>
<b>Previous:</b> <A HREF="LynxOS6.html"><EM>Compiling the XFree86 Distribution</EM></A><BR>
<b>Next:</b> <A HREF="LynxOS.html"><EM>README for XFree86 on LynxOS</EM></A>



</BODY>
</HTML>
