mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-24 23:32:12 +08:00
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:
parent
3e248486b3
commit
2537abaea6
@ -6,8 +6,7 @@
|
||||
<note><para>The LDFLAGS environment variable must be set before
|
||||
configuring gpm.</para></note>
|
||||
|
||||
<para><screen><userinput>export LDFLAGS="-lm" &&
|
||||
./configure --prefix=/usr &&
|
||||
<para><screen><userinput>LDFLAGS="-lm" ./configure --prefix=/usr &&
|
||||
make &&
|
||||
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>
|
||||
|
||||
|
@ -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
|
||||
&& make && make install</command> routine. Help of the
|
||||
&& make && 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>
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
<para>Install CDParanoia by running the following commands:</para>
|
||||
|
||||
<para><screen><userinput>./configure --prefix=/usr &&
|
||||
make FLAGS="$CFLAGS" &&
|
||||
make &&
|
||||
make install</userinput></screen></para>
|
||||
|
||||
</sect2>
|
||||
|
@ -3,10 +3,8 @@
|
||||
|
||||
<para>Install cdrtools by running the following commands:</para>
|
||||
|
||||
<para><screen><userinput>make INS_BASE=/usr DEFINSUSR=root DEFINSGRP=root \
|
||||
COPTS="$CFLAGS" &&
|
||||
make INS_BASE=/usr DEFINSUSR=root DEFINSGRP=root \
|
||||
COPTS="$CFLAGS" install</userinput></screen></para>
|
||||
<para><screen><userinput>make INS_BASE=/usr DEFINSUSR=root DEFINSGRP=root &&
|
||||
make INS_BASE=/usr DEFINSUSR=root DEFINSGRP=root install</userinput></screen></para>
|
||||
|
||||
</sect2>
|
||||
|
||||
|
@ -3,8 +3,10 @@
|
||||
|
||||
<para>Install ffmpeg by running the following commands:</para>
|
||||
|
||||
<para><screen><userinput>unset CFLAGS
|
||||
./configure --prefix=/usr &&
|
||||
<note><para>The package maintaners recommend compiling without any
|
||||
optimizations.</para></note>
|
||||
|
||||
<para><screen><userinput>./configure --prefix=/usr &&
|
||||
make &&
|
||||
make install</userinput></screen></para>
|
||||
|
||||
|
@ -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>
|
||||
|
@ -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 &&
|
||||
@ -12,7 +13,6 @@ tar -xvf ../qt5dlls.tar -C /usr/lib/win32 &&
|
||||
tar -xvf ../qt6dlls.tar -C /usr/lib/win32 &&
|
||||
tar -xvf ../qtextras.tar -C /usr/lib/win32 &&
|
||||
tar -xvf ../rp9codecs.tar -C /usr/lib/win32 &&
|
||||
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 \
|
||||
|
@ -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. ************************/
|
||||
|
@ -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>
|
||||
|
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user