Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Mon, 14 Aug 2023 17:44:13 -0700
From: Reinoud Koornstra <>
To: Rich Felker <>
Subject: Re: Gmp not included in default musl build

Hi Rich,

Thanks for your answer. I just compiled and installed gmp with the musl
compiled gdb from your build process  Now I was able to compile gdb 13.2
fine. Even created a statically linked gdb which is easier to use. Thanks,

On Sat, Aug 12, 2023, 6:43 PM Rich Felker <> wrote:

> 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

Content of type "text/html" skipped

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.