From 415765b5ef570295649d2e3f9d8a6a8f0dc51380 Mon Sep 17 00:00:00 2001 From: panne Date: Thu, 22 Jun 2000 16:19:16 +0000 Subject: [PATCH] [project @ 2000-06-22 16:19:16 by panne] * -syslib => -package * mkdependHS => ghc -M *** please merge *** --- ghc/docs/users_guide/using.sgml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/ghc/docs/users_guide/using.sgml b/ghc/docs/users_guide/using.sgml index 4ba150d..6df35de 100644 --- a/ghc/docs/users_guide/using.sgml +++ b/ghc/docs/users_guide/using.sgml @@ -827,12 +827,12 @@ country. - + --syslib <lib> option +-package <lib> option If you are using a system-supplied non-Prelude library (e.g., the -POSIX library), just use a option (for +POSIX library), just use a option (for example). The right interface files should then be available. The accompanying HsLibs document lists the libraries available by this mechanism. @@ -1167,7 +1167,7 @@ depend : Now, before you start compiling, and any time you change the imports in your program, do make depend before you do make - cool_pgm. GHC will append + cool_pgm. ghc -M will append the needed dependencies to your Makefile. @@ -1178,7 +1178,7 @@ depend : import B ...blah... - then mkdependHS will generate a dependency + then ghc -M will generate a dependency line of the form: @@ -1191,7 +1191,7 @@ A.o : B.hi import {-# SOURCE #-} B ...blah... - then mkdependHS will generate a dependency + then ghc -M will generate a dependency line of the form: @@ -1203,7 +1203,7 @@ A.o : B.hi-boot will be multiple lines with A.o as the target. - By default, GHC generates all the + By default, ghc -M generates all the dependencies, and then concatenates them onto the end of makefile (or Makefile if makefile doesn't exist) bracketed by the @@ -1336,7 +1336,7 @@ ghc -M -optdep-f optdep.depend ... dependencies on the prelude modules used (including Prelude). This option is normally only used by the various system libraries. If a - option is used, dependencies will + option is used, dependencies will also be generated on the library's interfaces. @@ -2310,15 +2310,15 @@ libraries automatically; these are: -: +: --syslib <name> option +-package <name> option If you are using a Haskell “system library” (e.g., the POSIX -library), just use the option, and the correct code +library), just use the option, and the correct code should be linked in. @@ -2403,7 +2403,7 @@ GHC (as of version 4.00) supports Concurrent Haskell by default, without requiring a special option or libraries compiled in a certain way. To get access to the support libraries for Concurrent Haskell (i.e. Concurrent and friends), use the - option. + option. -- 1.7.10.4