Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I think the question isn’t why statically link but rather why bother with .a files and instead use the shared libraries all the time (even if only to build a statically linked executable).


Yeah, I misunderstood the question. Although if you could statically link .so/.dlls and have it work reliably, it would still be a great convenience, as some libraries are really hard to build statically without rewriting half their build system.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: