summaryrefslogtreecommitdiff
path: root/utils/mkUserGuidePart/Options/PhasePrograms.hs
diff options
context:
space:
mode:
authorAdam Gundry <adam@well-typed.com>2015-10-16 13:58:52 +0100
committerAdam Gundry <adam@well-typed.com>2015-10-16 13:58:52 +0100
commit5a1b4f814f74ec1c48152d97523744518e212777 (patch)
tree7c2207ecacbd37f12c78dbcf9d4334827164e0fb /utils/mkUserGuidePart/Options/PhasePrograms.hs
parent6757950cdd8bb0af0355539987ee78401a6a8f6b (diff)
parent808bbdf08058785ae5bc59b5b4f2b04951d4cbbf (diff)
downloadhaskell-wip/orf-reboot.tar.gz
Merge remote-tracking branch 'origin/master' into wip/orf-rebootwip/orf-reboot
Conflicts: compiler/rename/RnNames.hs compiler/typecheck/TcRnMonad.hs utils/haddock
Diffstat (limited to 'utils/mkUserGuidePart/Options/PhasePrograms.hs')
-rw-r--r--utils/mkUserGuidePart/Options/PhasePrograms.hs58
1 files changed, 58 insertions, 0 deletions
diff --git a/utils/mkUserGuidePart/Options/PhasePrograms.hs b/utils/mkUserGuidePart/Options/PhasePrograms.hs
new file mode 100644
index 0000000000..65ead95178
--- /dev/null
+++ b/utils/mkUserGuidePart/Options/PhasePrograms.hs
@@ -0,0 +1,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
+ }
+ ]