On Mon, 16 Feb 2009 00:37:25 -0800 (PST),
the processor doesn't see these. it likley compiles to some
sort of assembler or loader directive.
He might not mean the machine processor aka CPU.
The Fortran standard uses 'processor' with effectively the same
meaning the C standard uses 'implementation'. Things that are allowed
by the standard to vary (like charset/code, numeric type
representations, etc.) are stated as 'processor-dependent'.
Right. Or to be precise, on all conforming C implementations, there
must be a single variable=object allocated and set to 1 before main()
starts; on most implementations that is done by program loading.
(Unless it is optimized away, since in the full example upthread, the
implementation=compiler can see that main() calls nothing that could
change the value of one, and thus can just constant-fold it.)
this has nothing to do with the preprocessor.
That's true. Even in Fortran.
you'll have to explain what "coco" is. Some Fortran thingy?
Yes. The Fortran standard has its own, optional, analogue of C
preprocessing, which it calls conditional compilation, and there is a
canonical libre implementation called COCO.
In practice however, Fortran 'processors', and programmers, commonly
use a C preprocessor* since C implementations are so ubiquitous.
(* Even in C implementations that don't have a separate preprocessor
there may be a way to preprocess-only-don't-compile which is
effectively the same thing.