Mail Archives: djgpp/2001/06/29/09:27:45
invalid AT erehwon DOT invalid (Graaagh the Mighty) wrote:
> On Tue, 26 Jun 2001 23:05:45 +0100, Mark McIntyre
> <mark AT garthorn DOT demon DOT co DOT uk> sat on a tribble, which squeaked:
>
> >On Tue, 26 Jun 2001 01:42:23 GMT, invalid AT erehwon DOT invalid (Graaagh the
> >Mighty) wrote:
> >
> >>I fail to see how that is relevant in comp.os.msdos.djgpp.
> >
> >because this was crossposted to many groups. So he gets an answer
> >relevant to that group. Its always worth reading the group list.
>
> The group list, as displayed by Free Agent, was "comp.os.msdos.djgpp".
So learn to read headers.
> (It appears in the window title when an article is being viewed. The
> title changes to the subject line when writing an article.)
I know; I'm using it. And guess what? Right now, I've got a line on my
screen telling me where this message is going.
> >The result of the COMPILATION is some translated text which may be an
> >object module, or may be a hippo. ISO doesn't define that.
>
> If so, they made a rather large oversight, since that means I can call
> my program that occasionally reboots the machine and otherwise
> generates pretty Mandelbrot fractals "an ANSI C Compiler" and nobody
> can prove me wrong... All I have to do is make it able to read a
> source file, and proceed to generate a Mandelbrot fractal (or,
> perhaps, reboot the machine)...
No, you can't. The result of running a C implementation on a C program
must result in the semantics the Standard demands of these
implementations and programs. _However_, these are not required to be
object modules. They may well be direct executables. Or, for example,
the implementation may be an interpreter, and the only output you get is
the output from the program, without any intermediate module or
executable at all.
> >The result of your PROGRAM is the output. As a C programmer you should
> >care about the latter, not the former.
>
> The result of that includes its speed of execution and its memory
> requirements, and that gets to the heart of the matter the original
> poster was questioning.
However, such matters are entirely implementation-dependent, and
therefore off-topic for comp.lang.c. Had the original message been
posted only to c.o.m.d., you might have had a point here, but on c.l.c,
you don't.
Richard
- Raw text -