glfs/general/sysutils/gpm/gpm-inst.xml
Tushar Teredesai 2537abaea6 removed optimization flags; other minor changes
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@837 af4574ff-66df-0310-9fd7-8a98e5e911e0
2003-04-08 15:42:15 +00:00

24 lines
614 B
XML

<sect2>
<title>Installation of gpm</title>
<para>Install gpm by running the following commands:</para>
<note><para>The LDFLAGS environment variable must be set before
configuring gpm.</para></note>
<para><screen><userinput>LDFLAGS="-lm" ./configure --prefix=/usr &amp;&amp;
make &amp;&amp;
make install</userinput></screen></para>
</sect2>
<sect2>
<title>Command explanations</title>
<para><userinput>export LDFLAGS="-lm": </userinput>The math library
must be linked with gpm, as ceil() is used in some cursor scrolling
logic. LDFLAGS is only needed if you optimize gpm for size.</para>
</sect2>