From: lijiang via Gdb <gdb@sourceware.org>
To: Tom Tromey <tom@tromey.com>
Cc: Andrew Pinski <pinskia@gmail.com>, gdb@sourceware.org
Subject: Re: About gmp and mpfr dependencies for gdb building
Date: Mon, 17 Mar 2025 16:29:07 +0800 [thread overview]
Message-ID: <CANU+ZyddNNrH3zRtYkxTRXbF4UugoPbPn4sWX08R3i3xwbaZwg@mail.gmail.com> (raw)
In-Reply-To: <87sengvazo.fsf@tromey.com>
On Fri, Mar 14, 2025 at 6:09 AM Tom Tromey <tom@tromey.com> wrote:
> Andrew> GCC has its own wide-int implementation which might be useful to
> pull
> Andrew> into GDB if needed. It is used for BitInt and wide integer too.
>
> FWIW I tried this once but it was a pain, and also the API seemed pretty
> gross. I don't remember the details though.
>
Thank you so much, Tom and Andrew.
I tried to cross compile the gmp and mpfr for the crash-utility, and
succeeded.
https://gcc.gnu.org/pub/gcc/infrastructure/gmp-6.2.1.tar.bz2
https://gcc.gnu.org/pub/gcc/infrastructure/mpfr-4.1.0.tar.bz2
Looks like this is easier than implementing an option to enable/disable gmp
and mpfr. :-)
Thanks
Lianbo
>
> Tom
>
>
prev parent reply other threads:[~2025-03-17 8: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
2025-03-13 20:37 ` Andrew Pinski via Gdb
2025-03-13 22:09 ` Tom Tromey
2025-03-17 8:29 ` lijiang via Gdb [this message]
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=CANU+ZyddNNrH3zRtYkxTRXbF4UugoPbPn4sWX08R3i3xwbaZwg@mail.gmail.com \
--to=gdb@sourceware.org \
--cc=lijiang@redhat.com \
--cc=pinskia@gmail.com \
--cc=tom@tromey.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