From ec655d31e7a73d0e2b9eb160faa7ebd7c9fe3577 Mon Sep 17 00:00:00 2001 From: simonmar Date: Fri, 4 Jan 2002 10:19:00 +0000 Subject: [PATCH] [project @ 2002-01-04 10:18:58 by simonmar] Replace all instances of '--' with '––' since '--' gets interpreted by JadeTeX to mean a single dash. --- ghc/docs/users_guide/5-00-notes.sgml | 4 +-- ghc/docs/users_guide/5-02-notes.sgml | 2 +- ghc/docs/users_guide/ffi-chap.sgml | 2 +- ghc/docs/users_guide/flags.sgml | 6 ++-- ghc/docs/users_guide/ghci.sgml | 12 +++---- ghc/docs/users_guide/installing.sgml | 2 +- ghc/docs/users_guide/intro.sgml | 2 +- ghc/docs/users_guide/packages.sgml | 36 +++++++++---------- ghc/docs/users_guide/profiling.sgml | 2 +- ghc/docs/users_guide/runtime_control.sgml | 2 +- ghc/docs/users_guide/separate_compilation.sgml | 14 ++++---- ghc/docs/users_guide/using.sgml | 44 ++++++++++++------------ ghc/docs/users_guide/utils.sgml | 22 ++++++------ ghc/docs/users_guide/win32-dlls.sgml | 18 +++++----- 14 files changed, 84 insertions(+), 84 deletions(-) diff --git a/ghc/docs/users_guide/5-00-notes.sgml b/ghc/docs/users_guide/5-00-notes.sgml index d375b0a..a2f1210 100644 --- a/ghc/docs/users_guide/5-00-notes.sgml +++ b/ghc/docs/users_guide/5-00-notes.sgml @@ -9,7 +9,7 @@ been added (). - New flag added (New flag added (). @@ -160,7 +160,7 @@ The WithGhcHc setting in build.mk has been replaced by the - --with-ghc=ghc + ––with-ghc=ghc option to configure. The new option must be used if you intend to use anything except “ghc” to diff --git a/ghc/docs/users_guide/5-02-notes.sgml b/ghc/docs/users_guide/5-02-notes.sgml index 9e362dc..ad4f43c 100644 --- a/ghc/docs/users_guide/5-02-notes.sgml +++ b/ghc/docs/users_guide/5-02-notes.sgml @@ -119,7 +119,7 @@ multiple modules for the :add and :load commands. From the command line, you may specify multiple modules when starting GHCi and when - compiling in mode. See + compiling in mode. See . diff --git a/ghc/docs/users_guide/ffi-chap.sgml b/ghc/docs/users_guide/ffi-chap.sgml index c1b0c8a..ce24313 100644 --- a/ghc/docs/users_guide/ffi-chap.sgml +++ b/ghc/docs/users_guide/ffi-chap.sgml @@ -178,7 +178,7 @@ int main(int argc, char *argv[]) remember to include M_stub.o in the final link command line, or you'll get link errors for the missing function(s) (this isn't necessary when building your program - with ghc --make, as GHC will automatically + with ghc ––make, as GHC will automatically link in the correct bits). diff --git a/ghc/docs/users_guide/flags.sgml b/ghc/docs/users_guide/flags.sgml index e62592c..68ac80e 100644 --- a/ghc/docs/users_guide/flags.sgml +++ b/ghc/docs/users_guide/flags.sgml @@ -45,19 +45,19 @@ - - + display GHC version static - - + display GHC version (numeric only) static - - + display GHC library directory static - diff --git a/ghc/docs/users_guide/ghci.sgml b/ghc/docs/users_guide/ghci.sgml index f8f5bbd..87f2944 100644 --- a/ghc/docs/users_guide/ghci.sgml +++ b/ghc/docs/users_guide/ghci.sgml @@ -158,7 +158,7 @@ Main> fac 17 or it can be set using the :set command from within GHCi (see )Note that in - GHCi, and mode, the + GHCi, and mode, the option is used to specify the search path for source files, whereas in standard batch-compilation mode the option is used to @@ -305,7 +305,7 @@ Ok, modules loaded: A, B, C, D. HINT: since GHCi will only use a compiled object file if it can sure that the compiled version is up-to-date, a good technique when working on a large program is to occasionally run - ghc --make to compile the whole project (say + ghc ––make to compile the whole project (say before you go for lunch :-), then continue working in the interpreter. As you modify code, the new modules will be interpreted, but the rest of the project will remain @@ -543,10 +543,10 @@ Wed Mar 14 12:23:13 GMT 2001 Invoking GHCi invokingGHCi - + GHCi is invoked with the command ghci or - ghc --interactive. One or more modules or + ghc ––interactive. One or more modules or filenames can also be specified on the command line; this instructs GHCi to load the specified modules or filenames (and all the modules they depend on), just as if you had said @@ -728,11 +728,11 @@ Prelude> :mycd .. Or I could define a simple way to invoke - “ghc --make Main” in the + “ghc ––make Main” in the current directory: -Prelude> :def make (\_ -> return ":! ghc --make Main") +Prelude> :def make (\_ -> return ":! ghc ––make Main") diff --git a/ghc/docs/users_guide/installing.sgml b/ghc/docs/users_guide/installing.sgml index 2d15aff..a7b2cd0 100644 --- a/ghc/docs/users_guide/installing.sgml +++ b/ghc/docs/users_guide/installing.sgml @@ -705,7 +705,7 @@ Windows and Unix, as follows: layout: $(libdir)/ package.conf GHC package configuration - ghc-usage.txt Message displayed by ghc --help + ghc-usage.txt Message displayed by ghc ––help bin/ [Win32 only] User-visible binaries ghc.exe diff --git a/ghc/docs/users_guide/intro.sgml b/ghc/docs/users_guide/intro.sgml index 0162421..0013ad8 100644 --- a/ghc/docs/users_guide/intro.sgml +++ b/ghc/docs/users_guide/intro.sgml @@ -358,7 +358,7 @@ The version number of your copy of GHC can be found by invoking ghc with the - --version flag (see ––version flag (see ). diff --git a/ghc/docs/users_guide/packages.sgml b/ghc/docs/users_guide/packages.sgml index 80fe70c..3d0bbac 100644 --- a/ghc/docs/users_guide/packages.sgml +++ b/ghc/docs/users_guide/packages.sgml @@ -127,7 +127,7 @@ hand from the .a archive, it is possible to use GNU ld as follows: -ld -r --whole-archive -o HSfoo.o libHSfoo.a +ld -r ––whole-archive -o HSfoo.o libHSfoo.a @@ -178,7 +178,7 @@ added or removed from a package configuration file. By default, the system-wide configuration file is used, but alternatively packages can be added or removed from a user-specified - configuration file using the + configuration file using the option. An empty package configuration file consists of the string []. @@ -187,9 +187,9 @@ - + - + Reads package specification from the input (see below), and adds it to the database of installed packages. The @@ -199,9 +199,9 @@ - + - + Read new package specifications from file file. If a value of @@ -213,9 +213,9 @@ - + - + Automatically generate the GHCi @@ -235,9 +235,9 @@ - + - + Use file instead of the @@ -249,15 +249,15 @@ - + - + This option displays the list of currently installed packages. - $ ghc-pkg --list-packages + $ ghc-pkg ––list-packages gmp, rts, std, lang, concurrent, data, net, posix, text, util @@ -275,9 +275,9 @@ - + - + Removes the specified package from the installed @@ -285,9 +285,9 @@ - + - + Reads package specification from the input, and adds it to the database of installed packages. If a package @@ -335,7 +335,7 @@ The package's name, for use with the -package flag and as listed in the - --list-packages list. + ––list-packages list. diff --git a/ghc/docs/users_guide/profiling.sgml b/ghc/docs/users_guide/profiling.sgml index b7e3fd3..4bb22a1 100644 --- a/ghc/docs/users_guide/profiling.sgml +++ b/ghc/docs/users_guide/profiling.sgml @@ -885,7 +885,7 @@ $ ghcprof <prog>.prof - <command>hp2ps</command>--heap profile to PostScript + <command>hp2ps</command>––heap profile to PostScript hp2ps heap profiles diff --git a/ghc/docs/users_guide/runtime_control.sgml b/ghc/docs/users_guide/runtime_control.sgml index bbf4dc3..f8e43d9 100644 --- a/ghc/docs/users_guide/runtime_control.sgml +++ b/ghc/docs/users_guide/runtime_control.sgml @@ -38,7 +38,7 @@ If you absolutely positively want all the rest of the options in a command line to go to the program (and not the RTS), use a - . + . As always, for RTS options that take sizes: If the last character of diff --git a/ghc/docs/users_guide/separate_compilation.sgml b/ghc/docs/users_guide/separate_compilation.sgml index caa2382..45e6c9c 100644 --- a/ghc/docs/users_guide/separate_compilation.sgml +++ b/ghc/docs/users_guide/separate_compilation.sgml @@ -370,7 +370,7 @@ A.o : B.hi-boot locate any imported modules that come from packages. The package modules won't be included in the dependencies generated, though (but see the - option below). + option below). The dependency generation phase of GHC can take some additional options, which you may find useful. For historical @@ -444,7 +444,7 @@ ghc -M -optdep-f -optdep.depend ... - + Regard <file> as "stable"; i.e., exclude it from having dependencies on @@ -455,12 +455,12 @@ ghc -M -optdep-f -optdep.depend ... - same as + same as - + Regard the colon-separated list of directories <dirs> as containing stable, @@ -470,17 +470,17 @@ ghc -M -optdep-f -optdep.depend ... - + Regard <file> as not "stable"; i.e., generate dependencies on it (if any). This option is normally used in conjunction with - the option. + the option. - + Regard modules imported from packages as unstable, i.e., generate dependencies on the package modules used diff --git a/ghc/docs/users_guide/using.sgml b/ghc/docs/users_guide/using.sgml index 015522f..2eaa640 100644 --- a/ghc/docs/users_guide/using.sgml +++ b/ghc/docs/users_guide/using.sgml @@ -9,7 +9,7 @@ ghc - --interactive + ––interactive interactive mode @@ -24,11 +24,11 @@ ghc - --make + ––make make mode - + In this mode, GHC will build a multi-module Haskell @@ -252,10 +252,10 @@ module X where - + - + Cause GHC to spew a long usage message to standard output and then exit. @@ -304,8 +304,8 @@ module X where Minimal verbosity: print one line per compilation (this is the default when - or - is on). + or + is on). @@ -341,24 +341,24 @@ module X where - - + + Print a one-line string including GHC's version number. - - + + Print GHC's numeric version number only. - - + + Print the path to GHC's library directory. This is the top of the directory tree containing GHC's libraries, @@ -375,14 +375,14 @@ module X where - Using <command>ghc</command> <option>--make</option> + Using <command>ghc</command> <option>––make</option> - + separate compilation - When given the option, GHC will + When given the option, GHC will build a multi-module Haskell program by following dependencies from a single root module (usually Main). For example, if your Main module is in a file @@ -390,7 +390,7 @@ module X where the program like this: -ghc --make Main.hs +ghc ––make Main.hs The command line must contain one source file or module @@ -400,7 +400,7 @@ ghc --make Main.hs if the top module is Main, the program will also be linked into an executable. - The main advantages to using ghc --make + The main advantages to using ghc ––make over traditional Makefiles are: @@ -408,7 +408,7 @@ ghc --make Main.hs GHC doesn't have to be restarted for each compilation, which means it can cache information between compilations. Compiling a muli-module program with ghc - --make can be up to twice as fast as running + ––make can be up to twice as fast as running ghc individually on each source file. @@ -426,7 +426,7 @@ ghc --make Main.hs Any of the command-line options described in the rest of - this chapter can be used with , but note + this chapter can be used with , but note that any options you give on the command line will apply to all the source files compiled, so if you want any options to apply to a single source file only, you'll need to use an @@ -446,9 +446,9 @@ ghc --make Main.hs - GHC without <option>--make</option> + GHC without <option>––make</option> - Without , GHC will compile one or + Without , GHC will compile one or more source files given on the command line. The first phase to run is determined by each input-file diff --git a/ghc/docs/users_guide/utils.sgml b/ghc/docs/users_guide/utils.sgml index b9a0c2a..d58752e 100644 --- a/ghc/docs/users_guide/utils.sgml +++ b/ghc/docs/users_guide/utils.sgml @@ -185,7 +185,7 @@ tags: -t FILE or - --template=FILE + ––template=FILE The template file (see below). @@ -193,7 +193,7 @@ tags: -c PROG or - --cc=PROG + ––cc=PROG The C compiler to use (default: ghc) @@ -202,7 +202,7 @@ tags: -l PROG or - --ld=PROG + ––ld=PROG The linker to use (default: gcc). @@ -211,7 +211,7 @@ tags: -C FLAG or - --cflag=FLAG + ––cflag=FLAG An extra flag to pass to the C compiler. @@ -226,7 +226,7 @@ tags: -L FLAG or - --lflag=FLAG + ––lflag=FLAG An extra flag to pass to the linker. @@ -234,7 +234,7 @@ tags: -i FILE or - --include=FILE + ––include=FILE As if the appropriate #include directive was placed in the source. @@ -243,7 +243,7 @@ tags: -D NAME[=VALUE] or - --define=NAME[=VALUE] + ––define=NAME[=VALUE] As if the appropriate #define directive was placed in the source. @@ -252,28 +252,28 @@ tags: -o FILE or - --output=FILE + ––output=FILE Name of the Haskell file. - --help + ––help Display a summary of the available flags. - --version + ––version Output version information. - --no-compile + ––no-compile Stop after writing out the intermediate C program to disk. The file name for the intermediate C program is the input file name diff --git a/ghc/docs/users_guide/win32-dlls.sgml b/ghc/docs/users_guide/win32-dlls.sgml index 7d856a2..48ab0e6 100644 --- a/ghc/docs/users_guide/win32-dlls.sgml +++ b/ghc/docs/users_guide/win32-dlls.sgml @@ -86,7 +86,7 @@ still there. If you're interested, contact the GHC team. Note that building an entire Haskell application as a DLL is still supported (it's just inter-DLL Haskell calls that don't work). Creating a Win32 DLL ---mk-dll +––mk-dll Sealing up your Haskell library inside a DLL is straightforward; compile up the object files that make up the library, and then build the DLL by issuing a command of the form: @@ -94,12 +94,12 @@ the DLL by issuing a command of the form: -ghc --mk-dll -o foo.dll bar.o baz.o wibble.a -lfooble +ghc ––mk-dll -o foo.dll bar.o baz.o wibble.a -lfooble -By feeding the ghc compiler driver the option , it +By feeding the ghc compiler driver the option , it will build a DLL rather than produce an executable. The DLL will consist of all the object files and archives given on the command line. @@ -135,12 +135,12 @@ you compile into a DLL must have a common root. By default, the entry points of all the object files will be exported from -the DLL when using . Should you want to constrain +the DLL when using . Should you want to constrain this, you can specify the module definition file to use on the command line as follows: -ghc --mk-dll -o .... -optdll--def -optdllMyDef.def +ghc ––mk-dll -o .... -optdll--def -optdllMyDef.def See Microsoft documentation for details, but a module definition file @@ -159,7 +159,7 @@ EXPORTS -In addition to creating a DLL, the option also +In addition to creating a DLL, the option also creates an import library. The import library name is derived from the name of the DLL, as follows: @@ -232,7 +232,7 @@ This will produce two files, adder.o and adder_stub.o compile up a DllMain() that starts up the Haskell -RTS---a possible implementation is: +RTS-––a possible implementation is: #include <windows.h> @@ -276,7 +276,7 @@ gcc -c dllMain.c Construct the DLL: -ghc --mk-dll -o adder.dll adder.o adder_stub.o dllMain.o +ghc ––mk-dll -o adder.dll adder.o adder_stub.o dllMain.o @@ -284,7 +284,7 @@ ghc --mk-dll -o adder.dll adder.o adder_stub.o dllMain.o -Start using adder from VBA---here's how I would +Start using adder from VBA-––here's how I would Declare it: -- 1.7.10.4