Am Sonntag, den 09.08.2020, 09:53 -0400 schrieb Brandon Allbery:
> If you are obeying all the necessary restrictions on glibc, or you
> are
> using a different libc such as musl which is designed for static
> linking, then "-Wl,-static" should be sufficient. Doing this with
> glibc will likely
Am Sonntag, den 09.08.2020, 08:59 -0400 schrieb Brandon Allbery:
> Linux is not friendly to static linking, and you would need to either
> package or match exact versions of things like the nss and locale
> libraries that are dynamically loaded at runtime and don't show up in
> ldd. This
Linux is not friendly to static linking, and you would need to either
package or match exact versions of things like the nss and locale libraries
that are dynamically loaded at runtime and don't show up in ldd. This
limitation comes from glibc and is documented in its manual.
On Sun, Aug 9, 2020,
Hi!
I know of the command line argument "-static". But this only affects
the Haskell libraries. I want to link some programs completely
statically, no external libraries needed.
When just linking with "-static" I still have those dynamically linked
things:
desktop ~/bin $ ldd sicherung