3 ms·
And the good thing for the statically linked executables is that the binary can work on every Linux as the syscall interfaces remain the same. The critical poin
by acqq 12y ago
And the good thing for the statically linked executables is that the binary can work on every Linux as the syscall interfaces remain the same. The critical point is not depending on something else platform specific other than the syscalls, but for some kind of utilities its doable.
- lunixbochs 12y agoPros: - Portable (as long as you don't need dlopen/dlsym). If you do need to dlopen other libraries, you can run into issues on ARM mobile with mixed soft/hardfp calling conventions. Otherwise you're fine if the ABI is solid. - No need to atomically update your system, as applications stand alone. - Slightly faster program startup time. Cons: - Slightly larger file size (assuming you linked glibc... doesn't apply so much to things like musl or lib43). - You can't link in OpenGL client libraries, so games will probably still need the dynamic linker.
- mmozeiko 12y agoOn x86 and x86_64 you should be fine to use OpenGL via dlopen/dlsym, right?