1972599cfSmrg<?xml version="1.0" encoding="UTF-8"?>
2972599cfSmrg<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
3972599cfSmrg                      "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
4972599cfSmrg[
5972599cfSmrg<!ENTITY % defs SYSTEM "defs.ent"> %defs;
6972599cfSmrg]>
7972599cfSmrg
8972599cfSmrg<article id='Solaris'>
9972599cfSmrg
10972599cfSmrg<!-- Title information -->
11972599cfSmrg<articleinfo>
12972599cfSmrg
13972599cfSmrg <title>X Window System on <trademark>Solaris</trademark></title>
14972599cfSmrg <releaseinfo>X Version 11, Release &fullrelvers;</releaseinfo>
15972599cfSmrg <authorgroup>
16972599cfSmrg  <author>
17972599cfSmrg    <firstname>David</firstname><surname>Holland</surname>
189dd7914aSmrg      <affiliation><orgname><ulink url="https://www.xfree86.org/">XFree86
19972599cfSmrg	      Project</ulink></orgname></affiliation>
20972599cfSmrg  </author>
21972599cfSmrg
22972599cfSmrg  <author>
23972599cfSmrg    <firstname>Marc</firstname><surname>Aurele La France</surname>
249dd7914aSmrg      <affiliation><orgname><ulink url="https://www.xfree86.org/">XFree86
25972599cfSmrg	      Project</ulink></orgname></affiliation>
26972599cfSmrg  </author>
27972599cfSmrg
28972599cfSmrg  <author>
29972599cfSmrg      <firstname>Alan</firstname><surname>Coopersmith</surname>
309dd7914aSmrg      <affiliation><orgname><ulink url="https://www.oracle.com/">Oracle
31972599cfSmrg	      Corp.</ulink></orgname></affiliation>
32972599cfSmrg  </author>
33972599cfSmrg </authorgroup>
34972599cfSmrg
35972599cfSmrg <date>2012 March 20</date>
36972599cfSmrg</articleinfo>
37972599cfSmrg
38972599cfSmrg<!-- Table of contents -->
39972599cfSmrg
40972599cfSmrg<!-- Begin the document -->
41972599cfSmrg<sect1 id='The_VT-switching_sub-system_in_Solaris'>
42972599cfSmrg<title>The VT-switching sub-system in Solaris</title>
43972599cfSmrg
44972599cfSmrg<para>
45972599cfSmrgThe original virtual terminal sub-system is a undocumented, and
46972599cfSmrgunsupported feature of Solaris x86 releases 2.1 through 7.  It was removed
47972599cfSmrgin Solaris 8 and later releases, and was never present on Solaris SPARC.
48972599cfSmrgSupport for this version of virtual terminals is only present in Xorg 1.6.x
49972599cfSmrgand earlier releases of Xorg, and has been removed in Xorg 1.7 and later.
50972599cfSmrgIf you use this form of virtual terminals, you do so at
51972599cfSmrg<emphasis remap="bf">YOUR OWN RISK</emphasis>.
52972599cfSmrg</para>
53972599cfSmrg
54972599cfSmrg<para>
55972599cfSmrgA new virtual terminal sub-system has been introduced in Solaris 11,
56972599cfSmrgand is also available in systems based on the OpenSolaris or illumos sources.
57972599cfSmrgThis version is supported on both SPARC and x86 platforms, though SPARC
58972599cfSmrgsupport is limited to devices with "Coherent Console" support in the kernel
59972599cfSmrgframe buffer driver.  Support for it is found only in Xorg 1.7 and later
60972599cfSmrgserver releases.
61972599cfSmrg</para>
62972599cfSmrg
63972599cfSmrg<para>
64972599cfSmrgWhen available, the virtual terminals of Solaris work basically the same way as
65972599cfSmrgmost other VT sub-systems.
66972599cfSmrg</para>
67972599cfSmrg
68972599cfSmrg</sect1>
69972599cfSmrg
70972599cfSmrg<sect1 id='Notes_for_building_X11R&relvers;_on_Solaris'>
71972599cfSmrg<title>Notes for building X11R&relvers; on Solaris</title>
72972599cfSmrg
73972599cfSmrg<para>
74972599cfSmrg
75972599cfSmrg<orderedlist>
76972599cfSmrg<listitem>
77972599cfSmrg<para>
78972599cfSmrgBoth GCC, and the Sun Studio compilers are supported by X11R&relvers;.
79972599cfSmrgThe minimum recommended GCC release is 3.4.
80972599cfSmrgSome earlier GCC's are known to not work and should be avoided.
81972599cfSmrg</para>
82972599cfSmrg<para>
83972599cfSmrgYou should also make certain your version of GCC predefines `sun'.
84972599cfSmrgIf needed edit <filename>/usr/local/lib/gcc-lib/*/*/specs</filename>, and modify the
85972599cfSmrg<literal remap="tt">*predefines:</literal> line.
86972599cfSmrg</para>
87972599cfSmrg
88972599cfSmrg</listitem>
89972599cfSmrg<listitem>
90972599cfSmrg<para>
91972599cfSmrgTo build X11R&relvers; with GCC you need gcc and (optionally) c++filt from GNU
92972599cfSmrgbinutils.
93972599cfSmrgDon't install gas or ld from GNU binutils, use the one provided by Sun.
94972599cfSmrg</para>
95972599cfSmrg</listitem>
96972599cfSmrg<listitem>
97972599cfSmrg<para>
98972599cfSmrgIf you are using Sun compilers to compile the X11R&relvers; distribution, you need to
99972599cfSmrgmodify your PATH appropriately so the Sun compiler tools are available.
100972599cfSmrgNormally, they should be in
101972599cfSmrg<filename class="directory">/opt/SUNWspro/bin</filename>
102972599cfSmrg</para>
103972599cfSmrg</listitem>
104972599cfSmrg<listitem>
105972599cfSmrg<para>
106972599cfSmrgYou <emphasis remap="bf">MUST</emphasis> put
107972599cfSmrg<filename class="directory">/usr/ccs/bin</filename>
108972599cfSmrgat the front of your PATH.  There are known problems with some GNU
109972599cfSmrgreplacements for the utilities found there,
110972599cfSmrgso the <filename class="directory">/usr/ccs/bin</filename> versions of
111972599cfSmrgthese programs must be found before any possible GNU versions.
112972599cfSmrg(Most notably GNU '<command>ar</command>' does not work during the build).
113972599cfSmrg</para>
114972599cfSmrg</listitem>
115972599cfSmrg
116972599cfSmrg</orderedlist>
117972599cfSmrg
118972599cfSmrg</para>
119972599cfSmrg
120972599cfSmrg</sect1>
121972599cfSmrg
122972599cfSmrg<sect1 id='Bug_Notification'>
123972599cfSmrg<title>Bug Notification</title>
124972599cfSmrg
125972599cfSmrg<para>
126972599cfSmrgBug reports should be reported at
1279dd7914aSmrg<ulink url="https://gitlab.freedesktop.org/xorg" />.
128972599cfSmrg</para>
129972599cfSmrg
130972599cfSmrg</sect1>
131972599cfSmrg
132972599cfSmrg</article>
133