From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id AE62Huynxl8xUAAAWB0awg (envelope-from ) for ; Tue, 01 Dec 2020 15:30:36 -0500 Received: by simark.ca (Postfix, from userid 112) id 7AB8E1F0AB; Tue, 1 Dec 2020 15:30:36 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=0.3 required=5.0 tests=MAILING_LIST_MULTI,RDNS_NONE autolearn=no autolearn_force=no version=3.4.2 Received: from sourceware.org (unknown [8.43.85.97]) (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 simark.ca (Postfix) with ESMTPS id 2E2371E58D for ; Tue, 1 Dec 2020 15:30:36 -0500 (EST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id A1AC0385700B; Tue, 1 Dec 2020 20:30:35 +0000 (GMT) Received: from simark.ca (simark.ca [158.69.221.121]) by sourceware.org (Postfix) with ESMTPS id 245E8385700B for ; Tue, 1 Dec 2020 20:30:33 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 245E8385700B Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=simark.ca Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=simark@simark.ca Received: from [10.0.0.11] (173-246-6-90.qc.cable.ebox.net [173.246.6.90]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPSA id B61EA1E58D; Tue, 1 Dec 2020 15:30:32 -0500 (EST) Subject: Re: [PATCH] Enable GDB build with in-tree GMP and MPFR To: Bernd Edlinger , Joel Brobecker References: <1604817017-25807-1-git-send-email-brobecker@adacore.com> <1605429345-78384-1-git-send-email-brobecker@adacore.com> <1605429345-78384-2-git-send-email-brobecker@adacore.com> <20201116034518.GA609903@adacore.com> <20201118034455.GE617116@adacore.com> <71f5437f-c4f5-b58d-06f7-67a4d0b31007@simark.ca> From: Simon Marchi Message-ID: <4477fbb8-5fb5-52fc-7cb9-3bd066edb9a8@simark.ca> Date: Tue, 1 Dec 2020 15:30:32 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Language: fr Content-Transfer-Encoding: 7bit X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: gdb-patches@sourceware.org Errors-To: gdb-patches-bounces@sourceware.org Sender: "Gdb-patches" On 2020-12-01 3:29 p.m., Bernd Edlinger wrote: > Hi Simon, > > On 12/1/20 8:38 PM, Bernd Edlinger wrote: >> On 12/1/20 8:32 PM, Simon Marchi wrote: >>> >>> On 2020-12-01 2:29 p.m., Bernd Edlinger wrote: >>>> I would really like to be able to build gdb with in-tree gmp / mpfr, >>>> just as it works for gcc. >>> >>> Pardon my ignorance, but I don't see the gmp nor the mpfr source code in >>> the binutils-gdb repository. Should it be checked in too? >>> >> >> >> Aehm, good question. >> gcc uses a script ./contrib/download_prerequisites >> that *can* be used to download gmp/mpfr and some more. >> >> Maybe I should add a stripped down version of that one? >> > > So, this adds the contrib/download_prerequisites script. > > It is taken from gcc but does not download mpc and isl, > just gmp and mpfr. > > It should work also when building gdb from the release tar. > > > Is it OK to push? I don't really know how it works, so I am not really the right person to review it. Simon