Changes between Version 28 and Version 29 of Commentary/Pipeline


Ignore:
Timestamp:
Feb 17, 2011 5:42:23 PM (3 years ago)
Author:
dterei
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Commentary/Pipeline

    v28 v29  
    6464 * Run the '''C preprocessor''', `cpp`, (if {{{-cpp}}} is specified), generating {{{Foo.hspp}}}. 
    6565 
    66  * Run '''the compiler itself'''. This does not start a separate process; it's just a call to a Haskell function.  This step always generates an [wiki:Commentary/Compiler/IfaceFiles '''interface file'''] {{{Foo.hi}}}, and depending on what flags you give, it also generates a compiled file: 
    67    * Assembly code: flag {{{-S}}}, file {{{Foo.s}}} 
    68    * C code: flag {{{-fvia-C}}}, file {{{Foo.hc}}} 
    69    * C-- mode: flag {{{-fcmm}}}, file {{{Foo.cmm}}}, believed not to work 
     66 * Run '''the compiler itself'''. This does not start a separate process; it's just a call to a Haskell function.  This step always generates an [wiki:Commentary/Compiler/IfaceFiles '''interface file'''] {{{Foo.hi}}}, and depending on what flags you give, it also generates a compiled file. As GHC supports three backend code generators currently (a native code generator, a c code generator and an llvm code generator) the possible range of outputs depends on the backend used. All three support assembly output: 
     67   * Assembly code: flag {{{-S}}}, file {{{Foo.s}}} (supported by all three) 
     68   * C code: flags {{{-C}}}, file {{{Foo.hc}}} (only supported by C backend) 
    7069 
    7170  * In the {{{-fvia-C}}} case: