<!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>Things needed for compiling the sources</TITLE>
</HEAD>
<BODY BGCOLOR="#efefef" TEXT="black" LINK="blue" VLINK="#551A8B" ALINK="red">

<A HREF="isc.html"><EM> Information for ISC Users</EM></A>
 <b>:</b> <EM>Things needed for compiling the sources</EM><BR>
<b>Previous:</b> <A HREF="isc1.html"><EM>X11R6/XFree86[tm] on Interactive Unix </EM></A><BR>
<b>Next:</b> <A HREF="isc3.html"><EM>Changes to the System Header Files</EM></A>


<HR NOSHADE>
  <H2><A NAME="2"></A>2. Things needed for compiling the sources</H2>

<p>
<dl>
<dt><b> gcc </b><dd><p>Use the highest number for x you found.
Fresco will only build 2.6.3 and later.
I'd tried gcc Version 2.5.8, 2.6.0, 2.6.2, 2.6.3 and 2.7.2.
Current: 2.7.2.3</p>
<p>Since 2.6.3 the current source tree should be able to compile
with a little bit more Optimization:
<code> #define DefaultCDebugFlags -O3 -fomit-frame-pointer</code>
inside xf86site.def to overwrite the default -O2.</p>
<p>With 2.7.x you must specify 
<code>#define UsePosix               YES</code> inside xf86site.def.
This is necessary to build the sources successfully.
Versions prior to 2.7.0 could define it, but don't need it for a
clean build.</p>
<dt><b> libg++-2.x.x </b><dd><p>The needed g++ Libraries for use with g++ 2.x.x. As this is only 
necessary for Fresco, it isn't needed anymore since X11R6.1.</p>
<dt><b> binutils </b><dd><p>You could use the assembler and linker
the assembler is most preferred,and the linker is needed
at least if you want to link libFresco.a within a Program.
Don't use strip and ar/ranlib, the first generates buggy binaries
when stripping (at least on my machines) and the last requires 
the use of ranlib after creating an archive, this is not configured.
Current: 2.8.1.0.15 (Used: as, ld, ar, strip)</p>
<dt><b> gnu-malloc </b><dd><p>Due to better memory usage we should use GNU's malloc library
on systems where possible. </p>
<p>Enable <code>#define UseGnuMalloc YES</code>
inside xf86site.def or within the Linkkit site.def. </p>
<p>Enable and set <code>#define GnuMallocLibrary</code>
to your needs, if it isn't like the default 
<code>-L/usr/local/lib -lgmalloc</code>.</p>

<dt><b> inline-math (optional)</b><dd><p>This is the "original" inline-math package available at your
favorite Linux Mirror. </p>
<p>Use <code>#define UseInlineMath YES</code>
inside host.def to enable it. Please note the changes section
what else to do, to use this package.</p>

</dl>
          </p>

 <HR NOSHADE>
<A HREF="isc.html"><EM> Information for ISC Users</EM></A>
 <b>:</b> <EM>Things needed for compiling the sources</EM><BR>
<b>Previous:</b> <A HREF="isc1.html"><EM>X11R6/XFree86[tm] on Interactive Unix </EM></A><BR>
<b>Next:</b> <A HREF="isc3.html"><EM>Changes to the System Header Files</EM></A>



</BODY>
</HTML>
