From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTPS id 517E93858C66 for ; Mon, 18 Sep 2023 11:18:10 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 517E93858C66 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1695035889; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=UyIOv9WmhEOJLa4wNqqj6ox0TPPOcwB1KwiRc5CobpI=; b=XU8COGgD+Y8kLq+DAtDowHiIRsRmd+LEcYdqUtjpUjvc9CkiX6jd92kl7htRIQftXCXEaU c+p/i1jKcANcrp8LaT4kiqys8eWdLNCxjfi0bqNr/AqWDZwJjShpX6pQWY8rcr5vo1B9zs 2d4RxsWlf609A1hSyZi9lfGtwiU18aY= Received: from mimecast-mx02.redhat.com (mx-ext.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-447-OTLaYT0CNwWz7xIKqBWITA-1; Mon, 18 Sep 2023 07:18:08 -0400 X-MC-Unique: OTLaYT0CNwWz7xIKqBWITA-1 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.rdu2.redhat.com [10.11.54.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 5653529AA3B2; Mon, 18 Sep 2023 11:18:08 +0000 (UTC) Received: from localhost (unknown [10.42.28.190]) by smtp.corp.redhat.com (Postfix) with ESMTP id 1103B40C6EA8; Mon, 18 Sep 2023 11:18:07 +0000 (UTC) From: Jonathan Wakely To: libstdc++@gcc.gnu.org, gcc-patches@gcc.gnu.org Subject: [committed] libstdc++: Minor update to installation docs Date: Mon, 18 Sep 2023 12:17:47 +0100 Message-ID: <20230918111807.2453946-1-jwakely@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.2 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-12.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,GIT_PATCH_0,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Pushed to trunk. -- >8 -- libstdc++-v3/ChangeLog: * doc/xml/manual/intro.xml: Clarify that building libstdc++ separately from GCC is not supported. * doc/xml/manual/prerequisites.xml: Note msgfmt prerequisite for testing. * doc/html/manual/setup.html: Regenerate. --- libstdc++-v3/doc/html/manual/setup.html | 28 +++++++++++++------ libstdc++-v3/doc/xml/manual/intro.xml | 8 +++--- libstdc++-v3/doc/xml/manual/prerequisites.xml | 21 ++++++++++++-- 3 files changed, 42 insertions(+), 15 deletions(-) diff --git a/libstdc++-v3/doc/xml/manual/intro.xml b/libstdc++-v3/doc/xml/manual/intro.xml index 03d538546b7..f5037acdb5c 100644 --- a/libstdc++-v3/doc/xml/manual/intro.xml +++ b/libstdc++-v3/doc/xml/manual/intro.xml @@ -1327,13 +1327,13 @@ requirements of the license of GCC. - To transform libstdc++ sources into installed include files + Transforming libstdc++ sources into installed include files and properly built binaries useful for linking to other software is - a multi-step process. Steps include getting the sources, - configuring and building the sources, testing, and installation. + done as part of building GCC. Building libstdc++ separately from the + rest of GCC is not supported. - The general outline of commands is something like: + The general outline of commands to build GCC is something like: diff --git a/libstdc++-v3/doc/xml/manual/prerequisites.xml b/libstdc++-v3/doc/xml/manual/prerequisites.xml index f00979a1afa..a02d3795830 100644 --- a/libstdc++-v3/doc/xml/manual/prerequisites.xml +++ b/libstdc++-v3/doc/xml/manual/prerequisites.xml @@ -103,8 +103,10 @@ ln -s libiconv-1.16 libiconv 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 - means that glibc 2.3 or later is required. + C++ named locale support, e.g. the newlocale + and uselocale functions. + For GCC 4.6.0 and later, + this means that glibc 2.3 or later is required. @@ -153,7 +155,10 @@ zh_TW BIG5 - install all locales + install all locales, e.g., run + dnf install glibc-all-langpacks + for Fedora and related distributions. + install just the necessary locales @@ -178,6 +183,16 @@ zh_TW BIG5 + + + Some tests for the std::messages facet require a + message catalog created by the msgfmt utility. + That is usually installed as part of the GNU gettext library. + If msgfmt is not available, some tests under + the 22_locale/messages + directory will fail. + + -- 2.41.0