Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
C
Cabal
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
Analytics
Analytics
CI / CD
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Glasgow Haskell Compiler
Packages
Cabal
Commits
77dd1cfb
Commit
77dd1cfb
authored
Aug 01, 2017
by
Moritz Angermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add docs
parent
5dbc18a7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
0 deletions
+25
-0
Cabal/doc/installing-packages.rst
Cabal/doc/installing-packages.rst
+10
-0
Cabal/doc/nix-local-build.rst
Cabal/doc/nix-local-build.rst
+15
-0
No files found.
Cabal/doc/installing-packages.rst
View file @
77dd1cfb
...
...
@@ -1135,6 +1135,16 @@ Miscellaneous options
(default) Do not build shared library.
.. option:: --enable-static
Build a static library. This passes ``-staticlib`` to GHC (avaiable
for iOS, and with 8.4 more platforms). The result is an archive ``.a``
containing all dependent haskell libararies combined.
.. option:: --disable-static
(default) Do not build a static library.
.. option:: --enable-executable-dynamic
Link executables dynamically. The executable'
s
library
dependencies
...
...
Cabal/doc/nix-local-build.rst
View file @
77dd1cfb
...
...
@@ -1205,6 +1205,21 @@ Dynamic linking options
The command line variant of this flag is ``--relocatable``.
Static linking options
^^^^^^^^^^^^^^^^^^^^^^
.. cfg-field:: static: boolean
--enable-static
--disable-static
:synopsis: Build static library.
:default: False
Roll this and all dependent libraries into a combined ``.a`` archive.
This uses GHCs ``-staticlib`` flag, which is avaiable for iOS and with
GHC 8.4 and later for other platforms as well.
Foreign function interface options
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment