1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<!-- Created by texi2html 1.64 -->
<!--
Written by: Lionel Cons <Lionel.Cons@cern.ch> (original author)
Karl Berry <karl@freefriends.org>
Olaf Bachmann <obachman@mathematik.uni-kl.de>
and many others.
Maintained by: Olaf Bachmann <obachman@mathematik.uni-kl.de>
Send bugs and suggestions to <texi2html@mathematik.uni-kl.de>
-->
<HTML>
<HEAD>
<TITLE>Crystal Space: BeOS Building</TITLE>
<META NAME="description" CONTENT="Crystal Space: BeOS Building">
<META NAME="keywords" CONTENT="Crystal Space: BeOS Building">
<META NAME="resource-type" CONTENT="document">
<META NAME="distribution" CONTENT="global">
<META NAME="Generator" CONTENT="texi2html 1.64">
</HEAD>
<BODY LANG="" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#800080" ALINK="#FF0000">
<A NAME="SEC108"></A>
<TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0>
<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="cs_38.html#SEC107"> < </A>]</TD>
<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="cs_40.html#SEC109"> > </A>]</TD>
<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="cs_37.html#SEC105"> << </A>]</TD>
<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="cs_38.html#SEC107"> Up </A>]</TD>
<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="cs_42.html#SEC111"> >> </A>]</TD>
<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="index.html#SEC_Top">Top</A>]</TD>
<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="cs_toc.html#SEC_Contents">Contents</A>]</TD>
<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="cs_285.html#SEC711">Index</A>]</TD>
<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="cs_abt.html#SEC_About"> ? </A>]</TD>
</TR></TABLE>
<HR SIZE=1>
<H4> 2.4.6.1 Building </H4>
<!--docid::SEC108::-->
<P>
You set up the compilation environment by changing to the `<TT>CS/</TT>' directory
on the command-line and typing:
</P><P>
<TABLE><tr><td> </td><td class=example><pre>cd CS
make beos
make depend # Optional.
</pre></td></tr></table></P><P>
This sets up everything you should need to compile the system. After this,
the simplest way to build the project is to type:
</P><P>
<TABLE><tr><td> </td><td class=example><pre>make -k all
</pre></td></tr></table></P><P>
If you prefer more control over the build process, then you can compile the
various modules separately or in batches. To compile all the basic drivers
and plug-in modules, type:
</P><P>
<TABLE><tr><td> </td><td class=example><pre>make -k plugins
</pre></td></tr></table></P><P>
Or for even more fine-grained control:
</P><P>
<TABLE><tr><td> </td><td class=example><pre>make -k apps
make -k drivers2d
make -k drivers3d
make vfs
make csfont
</pre></td></tr></table></P><P>
The convenience makefile target `<SAMP>walkall</SAMP>' builds the WalkTest application
and the plug-in modules which it most often requires. So, for instance,
to build only WalkTest and the plug-in modules it requires, along with
the 2D graphics driver utilized by the software renderer, you could invoke
this comand:
</P><P>
<TABLE><tr><td> </td><td class=example><pre>make -k be2d walkall
</pre></td></tr></table></P><P>
The graphics libraries consist of several BeOS-specific 2D drivers and
platform-independent 3D renderers. You may compile these manually if you like,
though they are normally built as part of the targets already mentioned, such
as `<SAMP>all</SAMP>', `<SAMP>walkall</SAMP>', `<SAMP>plugins</SAMP>', `<SAMP>drivers2d</SAMP>', and
`<SAMP>drivers3d</SAMP>'.
</P><P>
<OL>
<LI>
Software Renderer
<P>
<TABLE><tr><td> </td><td class=example><pre>make be2d
make soft
</pre></td></tr></table></P><P>
<LI>
OpenGL
<P>
<TABLE><tr><td> </td><td class=example><pre>make glbe2d
make gl3d
</pre></td></tr></table></OL>
<P>
<A NAME="BeOS Running"></A>
<HR SIZE=1>
<BR>
<FONT SIZE="-1">
This document was generated
using <A HREF="http://www.mathematik.uni-kl.de/~obachman/Texi2html
"><I>texi2html</I></A>
</BODY>
</HTML>
|