diff options
author | Gerard Beekmans <gerard@linuxfromscratch.org> | 2002-09-12 17:15:29 +0000 |
---|---|---|
committer | Gerard Beekmans <gerard@linuxfromscratch.org> | 2002-09-12 17:15:29 +0000 |
commit | f9d25dd2c5efddca3b92fefc3ae5264d11e96d0c (patch) | |
tree | f38b1e2e44ad66511a18a299a59fa6e3fea38f02 /chapter06 | |
parent | b803c015bf3073c8bf2a4e05008559e7a2b1fbff (diff) |
Added --enable-clocale=gnu to chapter 06 -gcc
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2087 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06')
-rw-r--r-- | chapter06/gcc-exp.xml | 10 | ||||
-rw-r--r-- | chapter06/gcc-inst.xml | 3 |
2 files changed, 12 insertions, 1 deletions
diff --git a/chapter06/gcc-exp.xml b/chapter06/gcc-exp.xml index b05214795..38ce93aa5 100644 --- a/chapter06/gcc-exp.xml +++ b/chapter06/gcc-exp.xml @@ -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> diff --git a/chapter06/gcc-inst.xml b/chapter06/gcc-inst.xml index a3a024a4f..3a3b4b2c5 100644 --- a/chapter06/gcc-inst.xml +++ b/chapter06/gcc-inst.xml @@ -27,7 +27,8 @@ mkdir ../gcc-build && 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 && |