Skip to content
Snippets Groups Projects
Commit 151673d4 authored by Reuben Thomas's avatar Reuben Thomas
Browse files

[project @ 2000-08-18 10:50:37 by rrt]

Revoked comments about not using -static under Windows.
parent 3fa10792
No related merge requests found
......@@ -2697,7 +2697,7 @@ Where to find user-supplied libraries… Prepend the directory
<ListItem>
<Para>
<IndexTerm><Primary>-static option</Primary></IndexTerm>
Tell the linker to avoid shared libraries. <Emphasis>This option should not be used under Windows</Emphasis>.
Tell the linker to avoid shared libraries.
</Para>
</ListItem>
</VarListEntry>
......
......@@ -54,7 +54,9 @@ will give you a binary as before, but the <Filename>main.exe</Filename> generate
<IndexTerm><Primary>-static option (Win32)</Primary></IndexTerm></Title>
<Para>
This is no longer supported, and probably doesn't work; but if you want to build an executable that doesn't depend on any ghc-compiled DLLs, use the <Option>-static</Option> option to link in the code statically.
If you want to build an executable that doesn't depend on any
ghc-compiled DLLs, use the <Option>-static</Option> option to link in
the code statically.
</Para>
<Para>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment