From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) by sourceware.org (Postfix) with ESMTP id 37B8C3985033 for ; Sat, 26 Jun 2021 02:08:27 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 37B8C3985033 Received: from vapier (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A40E6335C29; Sat, 26 Jun 2021 02:08:25 +0000 (UTC) Date: Fri, 25 Jun 2021 22:08:24 -0400 From: Mike Frysinger To: German Salazar Cc: binutils@sourceware.org Subject: Re: Dependencies: gmp, mpfr, mpc Message-ID: Mail-Followup-To: German Salazar , binutils@sourceware.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-5.0 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: binutils@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Binutils mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Jun 2021 02:08:29 -0000 On 25 Jun 2021 13:25, German Salazar via Binutils wrote: > Say, I just built gcc 10.3 and it came with instructions on how to download > and un-tar the above three dependencies within gcc own top directory; from > there, it uses them automatically without me having to install those > dependencies or specify options like "--with-gmp" > > What about binutils? > Command > ./configure --help > shows options "--with-gmp", " --with- mpfr", " --with-mpc" > > Do I need to first install them somewhere? Permanently? Temporary? > Or > Can I just place them inside binutils source directory? Would the build > process use them from there? > > What if I use the just built gcc (with gmp,mpfr,mpc) to build binutils? > Does it still need explicit access to those three dependencies? the top level configure script is shared between many projects which is why you see these options. however, binutils does not use gmp/mpfr/mpc. so if you want to build binutils, ignore those flags. gdb requires mpfr, but that's it. -mike