X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fdocs%2Fusers_guide%2Fpackages.sgml;h=9e8e7c9222802345784d3cea8562644e415db8c4;hb=2dfd507259664e6f28df4a9467a8de34d01d70a0;hp=0852ec7217e93602f028cfcf6a2c4bcf83011231;hpb=dc801dc275fb8f81d482535b4d6317e234bb10f8;p=ghc-hetmet.git
diff --git a/ghc/docs/users_guide/packages.sgml b/ghc/docs/users_guide/packages.sgml
index 0852ec7..9e8e7c9 100644
--- a/ghc/docs/users_guide/packages.sgml
+++ b/ghc/docs/users_guide/packages.sgml
@@ -18,7 +18,7 @@
from an existing GHC installation, using the supplied
ghc-pkgghc-pkg tool, described in .
+ linkend="package-management"/>.
Using a package
@@ -59,7 +59,7 @@
There's one case where you need to use the
option even for auto packages: when
- linking a program in batch mode mode ()
+ linking a program in batch mode mode ()
This is because
GHC can't figure out from the object files which packages are
required; in mode and in
@@ -75,7 +75,7 @@
The same flag is necessary even if we compiled the modules from source, because GHC still
reckons it's in batch mode:
$ ghc -o myprog Foo.hs Main.hs -package network
-In --make and --interactive modes (), however, GHC figures out
+In --make and --interactive modes (), however, GHC figures out
the auto packages required for linking without further assistance.
@@ -112,7 +112,7 @@ the auto packages required for linking without further assistance.
[] in it. Packages can be
added to the new configuration file using the
ghc-pkg tool, described in .
+ linkend="package-management"/>.
@@ -146,7 +146,7 @@ the auto packages required for linking without further assistance.
make an inter-DLL call rather than an intra-DLL call
(inter-DLL calls require an extra
indirection). Building packages as DLLs doesn't
- work at the moment; see
+ work at the moment; see
for the gory details.
@@ -168,7 +168,7 @@ the auto packages required for linking without further assistance.
called HSfoo.o and load that. On some
systems, the ghc-pkg tool can
automatically build the GHCi version of each library, see
- . To build these
+ . To build these
libraries by hand from the .a archive, it
is possible to use GNU ld as
follows:
@@ -438,7 +438,7 @@ the auto packages required for linking without further assistance.
Set to True if the package should
be automatically available (see ). This is normally set to
+ linkend="using-packages"/>). This is normally set to
True for packages which contain
hierarchical libraries, because in that case there is no
danger of polluting the module namespace.
@@ -668,7 +668,7 @@ the auto packages required for linking without further assistance.
database as follows:
- $ installdir=/usr/local/lib ghc-pkg -a < mypkg.pkg
+ $ installdir=/usr/local/lib ghc-pkg -a < mypkg.pkg