Invisible <voi### [at] devnull> wrote:
> >> I see. So you still have to manually define what needs to be linked somehow?
> >
> > How else is the compiler going to know which files are your source files?
> > By reading your mind?
> Well, that's what I was puzzled by, yes. You guys seemed to be
> suggesting that you just give VS a bunch of files and it somehow "knows"
> how to produce a runnable executable out of them.
Well, that is how an IDE works. You give it a bunch of source files and
it knows how to create a runnable executable out of them.
> > That's what dynamic linking is all about. That's why they are called
> > "dynamically linked libraries". The OS performs runtime linking when the
> > program is launched: It goes through the program and sets jump addresses
> > to their proper values.
> This implies that an executable file contains some metadata in addition
> to the executable machine code itself.
That's correct.
--
- Warp
Post a reply to this message
|