From: Tom Tromey <tom@tromey.com>
To: lijiang <lijiang@redhat.com>
Cc: gdb@sourceware.org, tom@tromey.com
Subject: Re: About gmp and mpfr dependencies for gdb building
Date: Thu, 13 Mar 2025 14:28:21 -0600 [thread overview]
Message-ID: <87wmcsvfoa.fsf@tromey.com> (raw)
In-Reply-To: <CANU+ZycUD1C7w+GTP6pnUkU6HvmrWvhuY7+JcedwVgbbxJ04VA@mail.gmail.com> (lijiang@redhat.com's message of "Thu, 13 Mar 2025 16:14:19 +0800")
> 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?
Not currently.
You could probably try to implement it. One way might be to replace the
use of GMP with a custom wide-int implementation; or with (assuming
IIRC) the slower single-header GMP implementation. Not sure about MPFR.
Probably use of wide-int in gdb is just going to grow due to 128-bit
ints becoming more common.
thanks,
Tom
next prev parent reply other threads:[~2025-03-13 20:30 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
2025-03-13 20:28 ` Tom Tromey [this message]
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=87wmcsvfoa.fsf@tromey.com \
--to=tom@tromey.com \
--cc=gdb@sourceware.org \
--cc=lijiang@redhat.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