I'd like to know whether the loader is a part of the operating system or the compiler. Also, is the loader architecture dependant? I mean, can there be two m/c's with different architecture and having the same executable headers, load the same program into memory using the same loader.