Re: About gmp and mpfr dependencies for gdb building

lijiang via Gdb <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <CANU+ZyddNNrH3zRtYkxTRXbF4UugoPbPn4sWX08R3i3xwbaZwg@mail.gmail.com>
On Fri, Mar 14, 2025 at 6:09 AM Tom Tromey <[email protected]> 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
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.