From: panne Date: Sat, 8 Jul 2000 23:08:02 +0000 (+0000) Subject: [project @ 2000-07-08 23:08:02 by panne] X-Git-Tag: Approximately_9120_patches~4053 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=1682eab7cf9d0dcc2ee0076432e65c8e44c2441a;p=ghc-hetmet.git [project @ 2000-07-08 23:08:02 by panne] Synched section on packages with new generalized package file format --- diff --git a/ghc/docs/users_guide/using.sgml b/ghc/docs/users_guide/using.sgml index 68b556a..bd0ae50 100644 --- a/ghc/docs/users_guide/using.sgml +++ b/ghc/docs/users_guide/using.sgml @@ -1606,12 +1606,12 @@ construction of interface files, is (allegedly) in the works. import_dirs = ["/usr/local/lib/imports/mypkg"], library_dirs = ["/usr/local/lib"], libraries = ["HSmypkg", "HSmypkg_cbits"], - include_dir = "", - c_include = "HsMyPkg.h", + include_dirs = [], + c_includes = ["HsMyPkg.h"], package_deps = ["text", "data"], - extra_ghc_opts = "", - extra_cc_opts = "", - extra_ld_opts = "-lmy_clib" + extra_ghc_opts = [], + extra_cc_opts = [], + extra_ld_opts = ["-lmy_clib"] } ) @@ -1659,25 +1659,26 @@ construction of interface files, is (allegedly) in the works. - include_dir - include_dir + include_dirs + include_dirs package specification - A directory containing C includes for this package - (may be the empty string). + A list of directories containing C includes for this + package (maybe the empty list). - c_include - c_include + c_includes + c_includes package specification - A file to include for via-C compilations using this - package. Typically this include file will contain - function prototypes for any C functions used in the - package, in case they end up being called as a result of - Haskell functions from the package being inlined. + A list of files to include for via-C compilations + using this package. Typically this include file will + contain function prototypes for any C functions used in + the package, in case they end up being called as a result + of Haskell functions from the package being + inlined.