diff options
author | Simon Marlow <marlowsd@gmail.com> | 2016-02-15 11:47:12 +0000 |
---|---|---|
committer | Simon Marlow <marlowsd@gmail.com> | 2016-02-15 11:49:10 +0000 |
commit | 160765f8331cf92e9a34e9062846a949e7b11b1e (patch) | |
tree | 4700b6507922d5b095ed3e98a22e436924abfcde /utils | |
parent | bb7f23084e2a886f5b48442458d33b43c4628b3c (diff) | |
download | haskell-160765f8331cf92e9a34e9062846a949e7b11b1e.tar.gz |
Document -dynamic-too (#11488)
Diffstat (limited to 'utils')
-rw-r--r-- | utils/mkUserGuidePart/Options/CodeGen.hs | 10 | ||||
-rw-r--r-- | utils/mkUserGuidePart/Options/Linking.hs | 19 | ||||
-rw-r--r-- | utils/mkUserGuidePart/Options/RedirectingOutput.hs | 12 |
3 files changed, 22 insertions, 19 deletions
diff --git a/utils/mkUserGuidePart/Options/CodeGen.hs b/utils/mkUserGuidePart/Options/CodeGen.hs index 9939d9e100..0a5d6c1976 100644 --- a/utils/mkUserGuidePart/Options/CodeGen.hs +++ b/utils/mkUserGuidePart/Options/CodeGen.hs @@ -39,4 +39,14 @@ codegenOptions = "output. If ⟨n⟩ is omitted level 2 is assumed." , flagType = DynamicFlag } + , flag { flagName = "-dynamic" + , flagDescription = "Build dynamically-linked object files and executables" + , flagType = DynamicFlag + } + , flag { flagName = "-dynamic-too" + , flagDescription = + "Build dynamic object files *as well as* static object files " ++ + "during compilation" + , flagType = DynamicFlag + } ] diff --git a/utils/mkUserGuidePart/Options/Linking.hs b/utils/mkUserGuidePart/Options/Linking.hs index 2348daa3f4..919cc096f1 100644 --- a/utils/mkUserGuidePart/Options/Linking.hs +++ b/utils/mkUserGuidePart/Options/Linking.hs @@ -21,25 +21,6 @@ linkingOptions = "Generate position-independent code (where available)" , flagType = DynamicFlag } - , flag { flagName = "-dynamic" - , flagDescription = "Use dynamic Haskell libraries (if available)" - , flagType = DynamicFlag - } - , flag { flagName = "-dynamic-too" - , flagDescription = - "Build dynamic object files *as well as* static object files " ++ - "during compilation" - , flagType = DynamicFlag - } - , flag { flagName = "-dyno" - , flagDescription = - "Set the output path for the *dynamically* linked objects" - , flagType = DynamicFlag - } - , flag { flagName = "-dynosuf" - , flagDescription = "Set the output suffix for dynamic object files" - , flagType = DynamicFlag - } , flag { flagName = "-dynload" , flagDescription = "Selects one of a number of modes for finding shared libraries at runtime." diff --git a/utils/mkUserGuidePart/Options/RedirectingOutput.hs b/utils/mkUserGuidePart/Options/RedirectingOutput.hs index 9435e26668..62fe99a650 100644 --- a/utils/mkUserGuidePart/Options/RedirectingOutput.hs +++ b/utils/mkUserGuidePart/Options/RedirectingOutput.hs @@ -44,4 +44,16 @@ redirectingOutputOptions = , flagDescription = "set output directory" , flagType = DynamicFlag } + , flag { flagName = "-dyno <filename>" + , flagDescription = "Set the output filename for dynamic object files (see ``-dynamic-too``)" + , flagType = DynamicFlag + } + , flag { flagName = "-dynosuf <suffix>" + , flagDescription = "Set the object suffix for dynamic object files (see ``-dynamic-too``)" + , flagType = DynamicFlag + } + , flag { flagName = "-dynhisuf <suffix>" + , flagDescription = "Set the hi suffix for dynamic object files (see ``-dynamic-too``)" + , flagType = DynamicFlag + } ] |