From: Iru Cai via Gdb <gdb@sourceware.org>
To: gdb@sourceware.org
Subject: Re: About gmp and mpfr dependencies for gdb building
Date: Thu, 13 Mar 2025 16:32:48 +0800 [thread overview]
Message-ID: <cfe19f3b-ed17-44c2-b2fa-3d4f130a6bcc@gmail.com> (raw)
In-Reply-To: <CANU+ZycUD1C7w+GTP6pnUkU6HvmrWvhuY7+JcedwVgbbxJ04VA@mail.gmail.com>
On 3/13/25 16:14, lijiang via Gdb wrote:
> Hi,
>
> For the gmp and mpfr dependency libs, is it possible to provide an option
> to enable/disable the gmp and mpfr instead of forcely enabling them when
> building gdb?
>
> Sometimes, we would like to cross compile the gdb in the crash-utility, but
> we did not run into any issues before upgrading to gdb 16.2.
>
> BTW: crash-utility used gdb-10.2 before upgrading to gdb-16.2
>
> Any ideas or suggestions?
>
>
> Thanks
> Lianbo
Hi Lianbo,
It seems that gdb cannot be built without gmp and mpfr. You can download
the gmp and mpfr tarball and unpack them to the binutils-gdb source
tree, rename gmp-<version>, mpfr-<version> to gmp, mpfr, then building
gdb will also build the bundled gmp and mpfr, just like the gcc build
system.
Iru
next prev parent reply other threads:[~2025-03-13 8:33 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-13 8:14 lijiang via Gdb
2025-03-13 8:32 ` Iru Cai via Gdb [this message]
2025-03-13 20:28 ` Tom Tromey
2025-03-13 20:37 ` Andrew Pinski via Gdb
2025-03-13 22:09 ` Tom Tromey
2025-03-17 8:29 ` lijiang via Gdb
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cfe19f3b-ed17-44c2-b2fa-3d4f130a6bcc@gmail.com \
--to=gdb@sourceware.org \
--cc=vimacs.hacks@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox