cvs commit: LFS/BOOK/chapter06 gcc-exp.xml gcc-inst.xml

gerard at linuxfromscratch.org gerard at linuxfromscratch.org
Thu Sep 12 10:15:29 PDT 2002


gerard      02/09/12 10:15:29

  Modified:    BOOK/chapter01 changelog.xml
               BOOK/chapter06 gcc-exp.xml gcc-inst.xml
  Log:
  Added --enable-clocale=gnu to chapter 06 -gcc
  
  Revision  Changes    Path
  1.360     +4 -0      LFS/BOOK/chapter01/changelog.xml
  
  Index: changelog.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter01/changelog.xml,v
  retrieving revision 1.359
  retrieving revision 1.360
  diff -u -r1.359 -r1.360
  --- changelog.xml	11 Sep 2002 22:22:24 -0000	1.359
  +++ changelog.xml	12 Sep 2002 17:15:29 -0000	1.360
  @@ -53,6 +53,10 @@
   </itemizedlist>
   </para></listitem>
   
  +<listitem><para>September 12th, 2002 [gerard]: Chapter 06 - GCC: Added the
  +<emphasis>--enable-clocale=gnu</emphasis> option to ensure the proper
  +locale mode is used by the C++ libraries.</para></listitem>
  +
   <listitem><para>September 11th, 2002 [timothy]: Preface: Grammatic
   changes.</para></listitem>
   
  
  
  
  1.11      +10 -0     LFS/BOOK/chapter06/gcc-exp.xml
  
  Index: gcc-exp.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter06/gcc-exp.xml,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- gcc-exp.xml	30 Aug 2002 23:08:48 -0000	1.10
  +++ gcc-exp.xml	12 Sep 2002 17:15:29 -0000	1.11
  @@ -5,5 +5,15 @@
   in C++ shared libraries and C++ programs that are interoperable with other
   linux distributions.</para>
   
  +<para><userinput>--enable-clocale=gnu:</userinput> There is a risk that
  +some people will build ABI incompatible C++ libraries if they didn't install
  +all the glibc localedata. Using --enable-clocale=gnu ensures that the "right
  +thing" is done in all cases. If you don't want to use this option and don't
  +want to build all the locales, then at least make sure you installed the
  +<emphasis>de_DE</emphasis> locale with Glibc, since that's the specific locale
  +GCC will check for to determine which locale mode to use (if de_DE is
  +found, <emphasis>gnu</emphasis> mode is used, which is the corrent one to
  +use).</para>
  +
   </sect2>
   
  
  
  
  1.34      +2 -1      LFS/BOOK/chapter06/gcc-inst.xml
  
  Index: gcc-inst.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter06/gcc-inst.xml,v
  retrieving revision 1.33
  retrieving revision 1.34
  diff -u -r1.33 -r1.34
  --- gcc-inst.xml	30 Aug 2002 23:08:48 -0000	1.33
  +++ gcc-inst.xml	12 Sep 2002 17:15:29 -0000	1.34
  @@ -27,7 +27,8 @@
   cd ../gcc-build &&
   ../gcc-&gcc-version;/configure --prefix=/usr --enable-shared \
       --enable-languages=c,c++ --enable-threads=posix \
  -    --with-slibdir=/lib --enable-__cxa_atexit &&
  +    --with-slibdir=/lib --enable-__cxa_atexit \
  +    --enable-clocale=gnu &&
   make bootstrap &&
   make install &&
   ln -s ../usr/bin/cpp /lib &&
  
  
  
-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-book' in the subject header of the message



More information about the lfs-book mailing list