8 ms·
Isn't libc just a set of libraries and therefore not considered a runtime environment? C does have a small runtime environment, but I'd say it's the existence o
by jpd 13y ago
Isn't libc just a set of libraries and therefore not considered a runtime environment? C does have a small runtime environment, but I'd say it's the existence of the function call stack, as well as the on_exit system that's built into the core language.
- mseepgood 13y agoOn Windows it's even called "Microsoft Visual C Run-Time" (MSVCRT): http://en.wikipedia.org/wiki/Windows_library_files#Msvcrt.dll_and_Msvcpp.dll http://en.wikipedia.org/wiki/Windows_library_files#Msvcrt.dl...
- ori_b 13y agoAs well as things like floating point and large integer emulation, startup code, etc. __divdi3, for example, divides 64 bit integers on i386. See /usr/lib/x86_64-linux-gnu/{crt1.o,crti.o,crtn.o,gcrt1.o,Mcrt1.o,Srct1.o}.