Hacker News new | ask | show | jobs
by binarycrusader 3936 days ago
Compilers are free to link their own internal runtime libraries into an executable beyond the ones you explicitly specify.

The only time they are not is if you explicitly use options that prevent them from doing so; in the case of gcc, that's the -nostdlib or -nodefaultlibs as appropriate to your scenario.

I do appreciate that you actually checked the output of ldd.

Regardless, again, only as an observation, you'd still be better off with pure C. Even if you don't use standard C++ libraries, and have eliminated the need for any special runtimes, the rules of C and C++ are not the same, even as of C11/C++11. So there may be subtle interoperability concerns.

Again, this is all merely observation; I haven't yet used your library, only airing potential technical concerns you may wish to research.

Regardless, thanks again for your excellent contribution to the community!