diff mbox

[libstdc++,doc] Update prerequisites documentation

Message ID alpine.LNX.2.00.1110301629050.3250@gerinyyl.fvgr
State New
Headers show

Commit Message

Gerald Pfeifer Oct. 30, 2011, 3:36 p.m. UTC
At first this was only triggered by Linux vs GNU/Linux, but then I
noticed GCC being lower-cased and the Red Hat Linux reference when
we actually do not support that old version of glibc anymore at all.

Committed to mainline.

Gerald

2011-10-30  Gerald Pfeifer  <gerald@pfeifer.com>
 
	* prerequisites.xml: Refer to GCC (instead of gcc) and GNU/Linux.
	Remove an obsolete reference to a Red Hat release we do not
	support any longer.
	Refer to Debian GNU/Linux.

Comments

Jonathan Wakely Oct. 30, 2011, 4:32 p.m. UTC | #1
On 30 October 2011 15:36, Gerald Pfeifer wrote:
> At first this was only triggered by Linux vs GNU/Linux, but then I
> noticed GCC being lower-cased and the Red Hat Linux reference when
> we actually do not support that old version of glibc anymore at all.

Are those instructions not valid for Fedora though?  And RHEL?
Gerald Pfeifer Oct. 30, 2011, 5:16 p.m. UTC | #2
On Sun, 30 Oct 2011, Jonathan Wakely wrote:
> Are those instructions not valid for Fedora though?  And RHEL?

Anything using "rpm -e --nodeps" is not valid anywhere, I'd claim.

And "rpm -i --define "_install_langs all" glibc-common-2.2.5-34.i386.rpm"
definitely won't work on anything released in the last decade or so. ;-)

That said, I did check a recent Fedora installation and found all
locales to be installed by default.  And a 2005 vintage report at
https://bugzilla.redhat.com/show_bug.cgi?id=156477 confirms this
was the case already back then.

I hope this addresses your questions?

Gerald
Jonathan Wakely Oct. 30, 2011, 6:59 p.m. UTC | #3
On 30 October 2011 17:16, Gerald Pfeifer wrote:
> I hope this addresses your questions?

It certainly does - thanks.
diff mbox

Patch

Index: doc/xml/manual/prerequisites.xml
===================================================================
--- doc/xml/manual/prerequisites.xml	(revision 180677)
+++ doc/xml/manual/prerequisites.xml	(working copy)
@@ -57,9 +57,9 @@ 
 
 	<listitem>
 	<para>
-	  If gcc 3.1.0 or later on is being used on linux, an attempt
+	  If GCC 3.1.0 or later on is being used on GNU/Linux, an attempt
 	  will be made to use "C" library functionality necessary for
-	  C++ named locale support.  For gcc 4.6.0 and later, this
+	  C++ named locale support.  For GCC 4.6.0 and later, this
 	  means that glibc 2.3 or later is required.
 	</para>
 
@@ -110,32 +110,12 @@ 
       <itemizedlist>
 	<listitem>
 	  <para>install all locales</para>
-	  <itemizedlist>
-	    <listitem>
-	      <para>with RedHat Linux:
-	      </para>
-	      <para> <code> export LC_ALL=C </code>
-	      </para>
-	      <para> <code> rpm -e glibc-common --nodeps </code>
-	      </para>
-	      <para>
-		<code> rpm -i --define "_install_langs all"
-		 glibc-common-2.2.5-34.i386.rpm
-		</code>
-	      </para>
-	    </listitem>
-	     <listitem>
-	     <para>
-	       Instructions for other operating systems solicited.
-	     </para>
-	     </listitem>
-	  </itemizedlist>
 	</listitem>
 	<listitem>
 	  <para>install just the necessary locales</para>
 	  <itemizedlist>
 	    <listitem>
-	      <para>with Debian Linux:</para>
+	      <para>with Debian GNU/Linux:</para>
 	      <para> Add the above list, as shown, to the file
 	      <code>/etc/locale.gen</code> </para>
 	      <para> run <code>/usr/sbin/locale-gen</code> </para>