X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fdocs%2Fusers_guide%2Fpackages.xml;h=dcda13b813e21c8aaf84b651530cd5aaf9718ffe;hb=6711557e24964abc6ace91cbe1089fa338e68b60;hp=b50e58ee6ec93083a8a6b9d06898d31fda8ae6b8;hpb=b9de29ac3fbf5192049a0bcaf1ab0c8bbbd57a83;p=ghc-hetmet.git
diff --git a/ghc/docs/users_guide/packages.xml b/ghc/docs/users_guide/packages.xml
index b50e58e..dcda13b 100644
--- a/ghc/docs/users_guide/packages.xml
+++ b/ghc/docs/users_guide/packages.xml
@@ -301,10 +301,13 @@ the auto packages required for linking without further assistance.
-
-
-
-
+
+
+
+
+
+
+ Use file as an additional
package configuration file. This is used to modify
@@ -322,9 +325,13 @@ the auto packages required for linking without further assistance.
-
-
-
+
+
+
+
+
+
+ This option displays the list of currently installed
packages, including those in extra configuration files
@@ -352,9 +359,13 @@ the auto packages required for linking without further assistance.
-
-
-
+
+
+
+
+
+
+ Displays the list of packages installed in the
topmost configuration file only: that will be the
@@ -369,19 +380,26 @@ the auto packages required for linking without further assistance.
-
-
-
-
+
+
+
+
+
+
+ Removes the specified package from the installed
configuration.
-
-
-
+
+
+
+
+
+
+ Reads package specification from the input, and
adds it to the database of installed packages. If a package
@@ -392,8 +410,10 @@ the auto packages required for linking without further assistance.
-
-
+
+
+
+ Causes ghc-pkg to ignore missing
directories and libraries when adding a package, and just
@@ -435,9 +455,10 @@ the auto packages required for linking without further assistance.
- name
- name
- package specification
+
+ name
+ namepackage specification
+ The package's name, for use with
the -package flag and as listed in the
@@ -447,10 +468,10 @@ the auto packages required for linking without further assistance.
- auto
- auto
- package specification
-
+
+ auto
+ autopackage specification
+ Set to True if the package should
be automatically available (see
- import_dirs
- import_dirs
- package specification
+
+ import_dirs
+ import_dirspackage specification
+ A list of directories containing interface files
(.hi files) for this package.
@@ -479,9 +501,10 @@ the auto packages required for linking without further assistance.
- source_dirs
- source_dirs
- package specification
+
+ source_dirs
+ source_dirspackage specification
+ A list of directories containing Haskell source
files for this package. This field isn't used by GHC, but
@@ -491,9 +514,10 @@ the auto packages required for linking without further assistance.
- library_dirs
- library_dirs
- package specification
+
+ library_dirs
+ library_dirspackage specification
+ A list of directories containing libraries for this
package.
@@ -501,9 +525,10 @@ the auto packages required for linking without further assistance.
- hs_libraries
- hs_libraries
- package specification
+
+ hs_libraries
+ hs_librariespackage specification
+ A list of libraries containing Haskell code for this
package, with the .a or
@@ -552,9 +577,10 @@ the auto packages required for linking without further assistance.
- extra_libraries
- extra_libraries
- package specification
+
+ extra_libraries
+ extra_librariespackage specification
+ A list of extra libraries for this package. The
difference between hs_libraries and
@@ -589,9 +615,10 @@ the auto packages required for linking without further assistance.
- include_dirs
- include_dirs
- package specification
+
+ include_dirs
+ include_dirspackage specification
+ A list of directories containing C includes for this
package (maybe the empty list).
@@ -599,9 +626,10 @@ the auto packages required for linking without further assistance.
- c_includes
- c_includes
- package specification
+
+ c_includes
+ c_includespackage specification
+ A list of files to include for via-C compilations
using this package. Typically this include file will
@@ -613,9 +641,10 @@ the auto packages required for linking without further assistance.
- package_deps
- package_deps
- package specification
+
+ package_deps
+ package_depspackage specification
+ A list of packages which this package depends
on.
@@ -623,9 +652,10 @@ the auto packages required for linking without further assistance.
- extra_ghc_opts
- extra_ghc_opts
- package specification
+
+ extra_ghc_opts
+ extra_ghc_optspackage specification
+ Extra arguments to be added to the GHC command line
when this package is being used.
@@ -633,9 +663,10 @@ the auto packages required for linking without further assistance.
- extra_cc_opts
- extra_cc_opts
- package specification
+
+ extra_cc_opts
+ extra_cc_optspackage specification
+ Extra arguments to be added to the gcc command line
when this package is being used (only for via-C
@@ -644,9 +675,10 @@ the auto packages required for linking without further assistance.
- extra_ld_opts
- extra_ld_opts
- package specification
+
+ extra_ld_opts
+ extra_ld_optspackage specification
+ Extra arguments to be added to the
gcc command line (for linking) when
@@ -655,9 +687,10 @@ the auto packages required for linking without further assistance.
- framework_dirs
- framework_dirs
- package specification
+
+ framework_dirs
+ framework_dirspackage specification
+ On Darwin/MacOS X, a list of directories containing frameworks for this
package. This corresponds to the option.
@@ -666,9 +699,10 @@ the auto packages required for linking without further assistance.
- extra_frameworks
- extra_frameworks
- package specification
+
+ extra_frameworks
+ extra_frameworkspackage specification
+ On Darwin/MacOS X, a list of frameworks to link to. This corresponds to the
option. Take a look at Apple's developer documentation