From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id zSSgJ0TZrmmj9x8AWB0awg (envelope-from ) for ; Mon, 09 Mar 2026 10:29:24 -0400 Authentication-Results: simark.ca; dkim=pass (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=Rd53G+Es; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 8A1061E089; Mon, 09 Mar 2026 10:29:24 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-3.4 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,RCVD_IN_VALIDITY_CERTIFIED_BLOCKED, RCVD_IN_VALIDITY_RPBL_BLOCKED,RCVD_IN_VALIDITY_SAFE_BLOCKED autolearn=ham autolearn_force=no version=4.0.1 Received: from vm01.sourceware.org (vm01.sourceware.org [38.145.34.32]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 82E6F1E089 for ; Mon, 09 Mar 2026 10:29:23 -0400 (EDT) Received: from vm01.sourceware.org (localhost [127.0.0.1]) by sourceware.org (Postfix) with ESMTP id C322D4BA2E0E for ; Mon, 9 Mar 2026 14:29:22 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C322D4BA2E0E Authentication-Results: sourceware.org; dkim=pass (1024-bit key, unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=Rd53G+Es Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTP id AF6194BA2E09 for ; Mon, 9 Mar 2026 14:28:56 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org AF6194BA2E09 Authentication-Results: sourceware.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org AF6194BA2E09 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=170.10.129.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1773066536; cv=none; b=RvWzxjftKFuaUyZCJqfJryeGweLdHUGn95c9Ca4O/FqhstN2h+phMFp8iRoTHun9kZkG42bDJ2AEe4ZMmNwbaEEXAm8g+JOis16NnIeDutt6htwGY5xslCheUzmFVwxhLRTf/WIv5GW0iFtzLK79kOzB+mpmCv3s9olCD12+9AI= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1773066536; c=relaxed/simple; bh=OxmKLGJgW3R9fFYoqeI1YRVUiLD903lcjE0DagxQ9K0=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=cRlaPkktR8+iBWv5OQl8X7VhZi3zggjwMxXMkUSTRzd9NjTnbItec9DuuuiFcze7wHGPYVwZYZ3gjbn+jiXZvsXH7ixTTExYe3/kc5exAWzbjBAljLVX/2HM3n0+Vi1s5I6rJM0nVGzKcJfavpr2Mf6GR6UgL1u7ZBgMmiAxUcs= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org AF6194BA2E09 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1773066536; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=av/boNCVDe7FFX+ZCEvhHniE6p+Pwhp8MiZ+I6jqHkk=; b=Rd53G+EsjjCayE/xVOji97spHSv+KGDR2GSNdI544hQWiqLlwYbq6+55GRO8zD5Suo19TC hpLAAcgMoSRvqL0AhPKgSvw35FK2pLkt2VbawdT5G2rZKu6ZQ5Q8fbGFrVxnivHx5jqOdu D/xZvaSxbnWz/q/EVHGP9v3ZVzUiPgY= Received: from mx-prod-mc-06.mail-002.prod.us-west-2.aws.redhat.com (ec2-35-165-154-97.us-west-2.compute.amazonaws.com [35.165.154.97]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-511-iBNoysREMPW8gj7rfIutVQ-1; Mon, 09 Mar 2026 10:28:54 -0400 X-MC-Unique: iBNoysREMPW8gj7rfIutVQ-1 X-Mimecast-MFC-AGG-ID: iBNoysREMPW8gj7rfIutVQ_1773066534 Received: from mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.93]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-06.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id BE0BD185FD15 for ; Mon, 9 Mar 2026 14:28:47 +0000 (UTC) Received: from fedora.tailb97d54.ts.net (unknown [10.96.134.77]) by mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 0A75B1800673; Mon, 9 Mar 2026 14:28:45 +0000 (UTC) From: Guinevere Larsen To: gdb-patches@sourceware.org Cc: Guinevere Larsen Subject: [PATCH v3] gdb/README: Refactor where build requirements are explained Date: Mon, 9 Mar 2026 11:28:33 -0300 Message-ID: <20260309142832.41172-2-guinevere@redhat.com> In-Reply-To: <20260306121303.2358881-1-guinevere@redhat.com> References: <20260306121303.2358881-1-guinevere@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.93 X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: rO0ylJSs03TXHg_StFAl-BWPam6mPgtKruOY2yPlDJY_1773066534 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: 8bit content-type: text/plain; charset="US-ASCII"; x-default=true X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-patches-bounces~public-inbox=simark.ca@sourceware.org User la_mettrie on IRC mentioned that they were having difficulties building GDB, and after some debugging, we figured out that they weren't using GNU Make. This is in the final documentation, but considering that it is not an obvious place to look, and the README mentions other build requirements, so this seems like a pretty obvious oversight. This commit also reworks the paragraph explaining the build requirements, turning into its own section and listing the GMP and MPFR requirements, and the section is placed before the installation section to ensure users see it before running into trouble. --- gdb/README | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/gdb/README b/gdb/README index 492b0891668..ef6bdb2f1e1 100644 --- a/gdb/README +++ b/gdb/README @@ -10,6 +10,15 @@ date release information, mailing list links and archives, etc. GDB's bug tracking data base can be found at http://www.gnu.org/software/gdb/bugs/ +Build Requirements +========================== + + GDB requires a C++17 compiler, an ISO C standard library, GNU +Make, the GNU Multiple Precision Arithmetic Library (GMP), and the +GNU Multiple Precision Floating-Point Reliable Libray. The GDB +remote server, GDBserver, builds with some non-ISO standard +libraries - e.g. for Windows CE. + Unpacking and Installation -- quick overview ========================== @@ -82,13 +91,6 @@ list of options, invoke the subdirectory `configure', like: (Take note of how this differs from the invocation used to actually configure the build tree.) - GDB requires a C++17 compiler. If you do not have a -C++17 compiler for your system, you may be able to download and install -the GNU CC compiler. It is available via anonymous FTP from the -directory `ftp://ftp.gnu.org/pub/gnu/gcc'. GDB also requires an ISO -C standard library. The GDB remote server, GDBserver, builds with some -non-ISO standard libraries - e.g. for Windows CE. - GDB can optionally be built against various external libraries. These dependencies are described below in the "`configure options" section of this README. base-commit: e4fe38115fea0a9f357527959893f18ca8d51a03 -- 2.53.0