4 ms·
You make your linux binary executables future-proof by statically linking them. It's a rare event that it happens, but I've no problems with 15 year old a.out b
by thwarted 13y ago
You make your linux binary executables future-proof by statically linking them. It's a rare event that it happens, but I've no problems with 15 year old a.out binaries on 64-bit systems.
- anyfoo 13y agoAs soon as they use for example, say, utmp, they will break. Worse, they might trash your utmp. The utmp format was changed with the transition from libc5 to glibc 2, to support IPv6. You might not care too much about utmp nowaways, but it's an example for something which changed. Also, your 15 year old statically compiled binary will contain every little bug any of the linked in libraries had those 15 years ago.
- thwarted 13y agoAnd this is the trade off you make for not having the source, but it doesn't negate it as a method to keep things running for longer. If you should keep things running, without having the source, for that long, is another issue.
- anyfoo 13y agoOkay, I can agree, it certainly beats "not running at all" 8)