Hi,
related to my question here, I'm wondering what is the purpose and fate of the three build targets?
My guess is that build-static is statically linked, while build-bash uses shared libs and ./debian/bash/bin/bash is for system installing.
The sizes seem to confirm this, but I'd like to know how these builds should be used. In particular, if I wanted to dynamically replace the installed bash with my own version, but not override or overwrite the default, which should I use and how should I do it.
I'm mainly interested in modifying bash for interactive use, not headless.
Cheers!
related to my question here, I'm wondering what is the purpose and fate of the three build targets?
Code:
~/Develop/apt-rebuilds/bash-5.2.15$ find . -executable -name bash -type f -exec ls -l {} \;-rwxr-xr-x 1 sean sean 5644616 Jul 5 10:40 ./build-static/bash-rwxr-xr-x 1 sean sean 1265648 Jul 5 10:42 ./debian/bash/bin/bash-rwxr-xr-x 1 sean sean 4446488 Jul 5 10:42 ./build-bash/bash
The sizes seem to confirm this, but I'd like to know how these builds should be used. In particular, if I wanted to dynamically replace the installed bash with my own version, but not override or overwrite the default, which should I use and how should I do it.
I'm mainly interested in modifying bash for interactive use, not headless.
Cheers!
Statistics: Posted by bitrat — 2024-07-04 23:40 — Replies 0 — Views 24