How does the runtime program loader work?
Anonymous
this depends a lot on the executable file format and what the OS expects an 'executable' to be (a DOS COM file won't work like a Linux ELF or an OSX Mach-O file) however, the loader should be ready to resolve dynamic symbols needed by the file, by loading and mapping libraries into the new process' address space (unless symbols are loaded lazily, such as GetProcAddress() in Win32). once all this is complete, the loader should give control to the start routine of the process, which in most cases is not going to be the user's provided main() but some standard library initializing routine
Check out your Company Bowl for anonymous work chats.