removed optimization flags; other minor changes

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@837 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Tushar Teredesai 2003-04-08 15:42:15 +00:00
parent 3e248486b3
commit 2537abaea6
10 changed files with 20 additions and 19 deletions

View File

@ -6,8 +6,7 @@
<note><para>The LDFLAGS environment variable must be set before
configuring gpm.</para></note>
<para><screen><userinput>export LDFLAGS="-lm" &amp;&amp;
./configure --prefix=/usr &amp;&amp;
<para><screen><userinput>LDFLAGS="-lm" ./configure --prefix=/usr &amp;&amp;
make &amp;&amp;
make install</userinput></screen></para>
</sect2>
@ -18,7 +17,7 @@ make install</userinput></screen></para>
<para><userinput>export LDFLAGS="-lm": </userinput>The math library
must be linked with gpm, as ceil() is used in some cursor scrolling
logic.</para>
logic. LDFLAGS is only needed if you optimize gpm for size.</para>
</sect2>

View File

@ -13,7 +13,7 @@ are different ways you can search for the concerned package.</para>
<itemizedlist>
<listitem><para>If you know the name of the package, then search FreshMeat for
the package at <ulink url="http://freshmeat.net/"/>. Also search Google at
at <ulink url="http://freshmeat.net/"/>. Also search Google at
<ulink url="http://google.com/"/>. Sometimes a search for the rpm at
<ulink url="http://rpmfind.net/"/> or the deb at
<ulink url="http://www.debian.org/distrib/packages#search_packages"/> can also
@ -33,7 +33,8 @@ searching for the given executable in the debian repository at
<itemizedlist>
<listitem><para>Many of the newer packages follow the <command>./configure
&amp;&amp; make &amp;&amp; make install</command> routine. Help of the
&amp;&amp; make &amp;&amp; make install</command> <emphasis>dance</emphasis>
routine. Help on the
options accepted by configure can be obtained via the command
<command>./configure --help</command>.</para></listitem>
@ -50,7 +51,7 @@ try the blfs support mailing-list/news-server.</para></listitem>
</itemizedlist>
<tip><para>If you have found a package that is only available in .deb or .rpm format,
there is are two small scripts rpm2targz and deb2targz that are available at
there are two small scripts rpm2targz and deb2targz that are available at
<ulink url="http://www.linuxfromscratch.org/~tushar/downloads/"/> to convert
the archives into a simple tar.gz format.</para></tip>

View File

@ -4,7 +4,7 @@
<para>Install CDParanoia by running the following commands:</para>
<para><screen><userinput>./configure --prefix=/usr &amp;&amp;
make FLAGS="$CFLAGS" &amp;&amp;
make &amp;&amp;
make install</userinput></screen></para>
</sect2>

View File

@ -3,10 +3,8 @@
<para>Install cdrtools by running the following commands:</para>
<para><screen><userinput>make INS_BASE=/usr DEFINSUSR=root DEFINSGRP=root \
&nbsp;&nbsp;&nbsp;COPTS="$CFLAGS" &amp;&amp;
make INS_BASE=/usr DEFINSUSR=root DEFINSGRP=root \
&nbsp;&nbsp;&nbsp;COPTS="$CFLAGS" install</userinput></screen></para>
<para><screen><userinput>make INS_BASE=/usr DEFINSUSR=root DEFINSGRP=root &amp;&amp;
make INS_BASE=/usr DEFINSUSR=root DEFINSGRP=root install</userinput></screen></para>
</sect2>

View File

@ -3,8 +3,10 @@
<para>Install ffmpeg by running the following commands:</para>
<para><screen><userinput>unset CFLAGS
./configure --prefix=/usr &amp;&amp;
<note><para>The package maintaners recommend compiling without any
optimizations.</para></note>
<para><screen><userinput>./configure --prefix=/usr &amp;&amp;
make &amp;&amp;
make install</userinput></screen></para>

View File

@ -1,9 +1,11 @@
<sect2>
<title>Command explanations</title>
<!--
<para><userinput>unset CFLAGS</userinput> : This command clears the
compile flags. This command is optional, but the indications are that
the majority of installs will need it.</para>
-->
<para><userinput>--enable-freetype</userinput> : This switch tells
MPlayer to utilize freetype fonts instead of the fonts provided by mplayer.</para>

View File

@ -4,6 +4,7 @@
<para>The extra downloads should be located in your source directory with
the bzip2 files decompressed.</para>
<note><para>The package maintainers recommend building without any optimization</para></note>
<para>Install MPlayer by running the following commands:</para>
<para><screen><userinput>install -d /usr/lib/win32 &amp;&amp;
@ -12,7 +13,6 @@ tar -xvf ../qt5dlls.tar -C /usr/lib/win32 &amp;&amp;
tar -xvf ../qt6dlls.tar -C /usr/lib/win32 &amp;&amp;
tar -xvf ../qtextras.tar -C /usr/lib/win32 &amp;&amp;
tar -xvf ../rp9codecs.tar -C /usr/lib/win32 &amp;&amp;
unset CFLAGS
./configure --prefix=/usr --confdir=/etc/mplayer --enable-largefiles \
--enable-gui --enable-menu --enable-new-conf --enable-qtx-codecs \
--enable-vorbis --with-reallibdir=/usr/lib/win32/rp9codecs \

View File

@ -67,9 +67,9 @@ the <filename>xc</filename> directory.</para>
* optimization line causes segmentation faults during build. If that
* happens, try building without the DefaultGcc2PpcOpt line. **************/
#define DefaultGcc2i386Opt -O2 -fomit-frame-pointer -march=i686
#define DefaultGcc2AxpOpt -O2 -mcpu=ev6
#define DefaultGcc2PpcOpt -O2 -mcpu=750
/* #define DefaultGcc2i386Opt -O2 -fomit-frame-pointer -march=i686 */
/* #define DefaultGcc2AxpOpt -O2 -mcpu=ev6 */
/* #define DefaultGcc2PpcOpt -O2 -mcpu=750 */
/* The following definitions are normally set properly by XFree86's scripts.
* You can uncomment them if you want to make sure. ************************/

View File

@ -29,7 +29,7 @@ Security Manager to enable SSL connections.</para>
<para><screen><userinput>--disable-jsd --disable-accessibility \
--disable-tests --disable-debug \
--enable-optimize=-O3 --disable-dtd-debug \
--disable-dtd-debug \
--disable-logging --enable-reorder \
--enable-strip \
--enable-cpp-rtti</userinput></screen>

View File

@ -40,7 +40,6 @@ friendly, give them this example!</para>
--enable-java-supplement \
--disable-accessibility \
--disable-tests --disable-debug \
--enable-optimize=-O3 \
--disable-logging --enable-reorder \
--enable-strip \
--enable-cpp-rtti --enable-extensions=all \