Chen said:
Chris Dollin said:
Chen shuSheng wrote:
[The `kind soul` might have been the compiler vendor, as part of
delivering
the compiler; or it might be the operating system provider, who may have
made an implementation of the C standard library available by default;
or it /could/ be that the compiler recompiles standard library functions
on demand, in which case it can know what the function body is without
it being anywhere "publically available".]
I see a directory named "lib" under my IDE 's directory. It is
described as containing "start-up code" and "run-time code". I want to
know if the function body is transfered to "??.obj" file under that
directory. I also want to know which .obj file is the "start-up code" .
Then ask somewhere they know about your IDE, such as groups dedicated to
it or to your OS. We don't deal with the specifics of the thousands of
development systems here. However, unless you are writing code for an
embedded system and you are meant to modify the startup and/or library
code (I've had to, but on those systems the implementer provided and
documented the source because it was one of the situations where the
implementer *wanted* you to deal with some system specifics) there is no
need for you to worry about this. It would generally be as useful as
trying to get the circuit diagrams for your video recorder when you want
to use it to record programs.