[cfarm-users] gcc230: Unable to use GDB on 64-bit mips executable
Andy Polyakov
appro at cryptogams.org
Fri Jun 20 10:25:07 CEST 2025
> To the best of my understanding, you will generally need to pass
> something like `--prefix=/opt/cfarm/...` to configure rather than
> install under $HOME.
Or compile small utility patchelf and adjust the run-time search path
with --set-rpath to your liking. One way is to keep .so-s in the same
directory as the executable and set the rpath to '$ORIGIN', so that the
binary and .so-s could be copied together to arbitrary location.
> With the GDB 8.0.1 executable I've mentioned previously in this thread,
> I configured my libgmp and libmpfr builds with `--disable-shared
> --enable-static`.
> That eliminates the need to install those two libs and thus the symlink
> issue.
This would be most optimal of course.
Cheers.
More information about the cfarm-users
mailing list