From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.3 required=5.0 tests=MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 26150 invoked from network); 13 Aug 2023 01:43:50 -0000 Received: from second.openwall.net (193.110.157.125) by inbox.vuxu.org with ESMTPUTF8; 13 Aug 2023 01:43:50 -0000 Received: (qmail 1838 invoked by uid 550); 13 Aug 2023 01:43:47 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Reply-To: musl@lists.openwall.com Received: (qmail 1799 invoked from network); 13 Aug 2023 01:43:46 -0000 Date: Sat, 12 Aug 2023 21:43:38 -0400 From: Rich Felker To: Reinoud Koornstra Cc: musl@lists.openwall.com Message-ID: <20230813014338.GV4163@brightrain.aerifal.cx> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Subject: Re: [musl] Gmp not included in default musl build On Fri, Aug 11, 2023 at 05:44:12PM -0700, Reinoud Koornstra wrote: > Hello everyone, > > I'm building musl and a musl gdb by git cloning musl-cross-make.git > After fetching some manual downloads, the building and installing goes well. > After that I'm building gdb, but it seems to want gmp as well and it > doesn't come by default with the cross make of musl. Any good way to add > this? > Thanks, mcm's scope is producing a toolchain, not an extended library ecosystem for the target. Once you have a cross compiler, it should be possible to use it to build any further libraries you might want, like gmp, and either install them into the toolchain's sysroot or install them in some other location specific to the project you're building with the cross toolchain, then tell the build systems for programs you want to build (like gdb) to look there for them. Rich