Re: Statically linking with libgmp and libmpfr
"Vahedi, Shahab via Gdb" <[email protected]>
| Newsgroups | gmane.comp.gdb.devel |
|---|---|
| Message-ID | <[email protected]> |
I've managed to _work around_ this by populating a "static only" lib dir
and pointing the "configure" to it:
$ mkdir -p /only/static/libs
$ cp /usr/lib/libgmp.a /only/static/libs
$ cp /usr/lib/libmpfr.a /only/static/libs
$ tree /only/static/libs
/only/static/libs
|-- libgmp.a
`-- libmpfr.a
$ configure ... \
--with-gmp-lib=/only/static/libs \
--with-mpfr-lib=/only/static/libs
$ make
$ libtree -vv gdb/gdb
[ no signs of gmp or mpfr ]
I still am interested in an out-of-the-box approach, if any, like GDB <= 13.2.
Cheers,
Shahab