From 0041195aaae16adfa1ae5d3b3f986e0f251237d0 Mon Sep 17 00:00:00 2001 From: sof Date: Tue, 8 Jul 1997 19:06:47 +0000 Subject: [PATCH] [project @ 1997-07-08 19:06:47 by sof] Updated docs for -E --- ghc/docs/users_guide/how_to_run.lit | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/ghc/docs/users_guide/how_to_run.lit b/ghc/docs/users_guide/how_to_run.lit index 4422ee9..87e016c 100644 --- a/ghc/docs/users_guide/how_to_run.lit +++ b/ghc/docs/users_guide/how_to_run.lit @@ -132,9 +132,16 @@ The option \tr{-cpp}\index{-cpp option} must be given for the C pre-processor phase to be run, that is, the pre-processor will be run over your Haskell source file before continuing. -The option \tr{-E}\index{-E option} runs just the C-preprocessor part -of the C-compiling phase, sending the result to stdout [I think]. (For -debugging, usually.) +The option \tr{-E}\index{-E option} runs just the pre-processing +passes of the compiler, outputting the result on stdout before +stopping. If used in conjunction with -cpp, the output is the +code blocks of the original (literal) source after having put it +through the grinder that is the C pre-processor. Sans \tr{-cpp}, the +output is the de-litted version of the original source. + +The option \tr{-optcpp-E}\index{-optcpp-E option} runs just the +pre-processing stage of the C-compiling phase, sending the result to +stdout. (For debugging or obfuscation contests, usually.) %************************************************************************ %* * -- 1.7.10.4