Re: About gmp and mpfr dependencies for gdb building
Iru Cai via Gdb <[email protected]>
| Newsgroups | gmane.comp.gdb.devel |
|---|---|
| Message-ID | <[email protected]> |
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