[email protected] wrote these words on 01/25/13 18:40 CST:
> Author: krejzi
> Date: Fri Jan 25 16:40:55 2013
> New Revision: 10979
> 
> Log:
> Package updates, see changelog for details.
>  <screen><userinput>autoreconf -fi &amp;&amp;
> -./configure --prefix=/usr                  \
> +./configure CFLAGS="-O2" CXXFLAGS="-O2"    \
> +            --prefix=/usr                  \
>              --sysconfdir=/etc              \
>              --enable-texture-float         \
>              --enable-gles1                 \
> @@ -220,16 +221,6 @@
>
> +      <parameter>CFLAGS="-O2" CXXFLAGS="-O2"</parameter>: By default,
> +      <application>Autoconf</application> sets CFLAGS and CXXFLAGS to
> +      "-g -O2". That results in binaries and libraries being built with
> +      debugging symbols which make them bigger. We override default
> +      flags to ommit -g switch so the final libraries are smaller.
> +    </para>

I do not see why we just cannot give instructions to strip the binaries instead
of passing flags to configure. That makes no sense. For instance, the Gimp
creates a 35MB binary executable that can be stripped down to less than 6MB but
we do not mention that. I'd bet most experienced BLFSers strip libs and binaries
as a matter of course after building. Passing flags to configure is just extra
confusion, for no reason.

Additionally, I am very much opposed to using "we" in the book. Who is "we"?
Someone building the packages is doing it by his or her self. Lastly, there is
a typo:

s/ommit/omit/  :-)

-- 
Randy

rmlscsi: [bogomips 1003.23] [GNU ld version 2.16.1] [gcc (GCC) 4.0.3]
[GNU C Library stable release version 2.3.6] [Linux 2.6.14.3 i686]
18:48:00 up 51 days, 4:47, 1 user, load average: 0.00, 0.00, 0.00
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to