C and C++ will produce statically linked binaries if you ask nicely (gcc -static).<p>There are some traps though; one I ran into for example is that you <i>require</i> dynamic linking in order to use libnss. I ended up producing a mostly-static binary that just depended on the platform&#x27;s libc but brought its own libstdc++.<p>Similarly on Windows, statically linking third-party COM components is not a good idea.