summaryrefslogtreecommitdiff
path: root/utils/mkUserGuidePart/Options/PhasePrograms.hs
blob: 9e13fb8b26201ef53f661aff6b87c94fbe53dd1e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
module Options.PhasePrograms where

import Types

phaseProgramsOptions :: [Flag]
phaseProgramsOptions =
  [ flag { flagName = "-pgmL ⟨cmd⟩"
         , flagDescription = "Use ⟨cmd⟩ as the literate pre-processor"
         , flagType = DynamicFlag
         }
  , flag { flagName = "-pgmP ⟨cmd⟩"
         , flagDescription =
           "Use ⟨cmd⟩ as the C pre-processor (with ``-cpp`` only)"
         , flagType = DynamicFlag
         }
  , flag { flagName = "-pgmc ⟨cmd⟩"
         , flagDescription = "Use ⟨cmd⟩ as the C compiler"
         , flagType = DynamicFlag
         }
  , flag { flagName = "-pgmlo ⟨cmd⟩"
         , flagDescription = "Use ⟨cmd⟩ as the LLVM optimiser"
         , flagType = DynamicFlag
         }
  , flag { flagName = "-pgmlc ⟨cmd⟩"
         , flagDescription = "Use ⟨cmd⟩ as the LLVM compiler"
         , flagType = DynamicFlag
         }
  , flag { flagName = "-pgms ⟨cmd⟩"
         , flagDescription = "Use ⟨cmd⟩ as the splitter"
         , flagType = DynamicFlag
         }
  , flag { flagName = "-pgma ⟨cmd⟩"
         , flagDescription = "Use ⟨cmd⟩ as the assembler"
         , flagType = DynamicFlag
         }
  , flag { flagName = "-pgml ⟨cmd⟩"
         , flagDescription = "Use ⟨cmd⟩ as the linker"
         , flagType = DynamicFlag
         }
  , flag { flagName = "-pgmdll ⟨cmd⟩"
         , flagDescription = "Use ⟨cmd⟩ as the DLL generator"
         , flagType = DynamicFlag
         }
  , flag { flagName = "-pgmF ⟨cmd⟩"
         , flagDescription = "Use ⟨cmd⟩ as the pre-processor (with ``-F`` only)"
         , flagType = DynamicFlag
         }
  , flag { flagName = "-pgmwindres ⟨cmd⟩"
         , flagDescription =
           "Use ⟨cmd⟩ as the program for embedding manifests on Windows."
         , flagType = DynamicFlag
         }
  , flag { flagName = "-pgmlibtool ⟨cmd⟩"
         , flagDescription =
           "Use ⟨cmd⟩ as the command for libtool (with ``-staticlib`` only)."
         , flagType = DynamicFlag
         }
  ]