Phil said:
Keith Thompson said:
Phil Carmody wrote:
[...]
The C standard does not require you to use a '-lm' switch in order
to link your C code. In fact, the C standard does not even require
that there is a 'linking' phase. It doesn't even require that there
is any compilation, it's perfectly acceptible to interpret C.
[...]
Well, sort of. Linking is translation phase 8; see C99 5.1.2.2. But
if an implementation can produce the same results without having an
explicit linking phase, that's ok.
Whilst pedantically I should have been corrected,
I retract that. I do not believe there was a flaw in my original
paragraph.
So does that mean that you have returned to the belief that "... the C
standard does not eve require that there is a 'linking' phase."
despite the fact that 5.1.1.2p1 defines phase 8, in which "Library
components are linked ..."?
I'm not trying to argue the point, I'm just checking to make sure I
understand what you're saying.