From eedbfe545e6e1e8a345c67ecc31844f71aabf12d Mon Sep 17 00:00:00 2001 From: simonpj Date: Mon, 16 Jul 2001 12:46:04 +0000 Subject: [PATCH] [project @ 2001-07-16 12:46:04 by simonpj] Fix markup bugs; add documentation about deprecations --- ghc/docs/users_guide/glasgow_exts.sgml | 42 +++++++++++++++++++++++++++++--- ghc/docs/users_guide/installing.sgml | 32 ++++++++++++------------ 2 files changed, 56 insertions(+), 18 deletions(-) diff --git a/ghc/docs/users_guide/glasgow_exts.sgml b/ghc/docs/users_guide/glasgow_exts.sgml index c94c0a2..5c1483c 100644 --- a/ghc/docs/users_guide/glasgow_exts.sgml +++ b/ghc/docs/users_guide/glasgow_exts.sgml @@ -98,7 +98,7 @@ Executive summary of our extensions: Data types with no constructors - See . + See . @@ -422,10 +422,10 @@ The libraries documentatation gives more details on all these - + Data types with no constructors -With the diff --git a/ghc/docs/users_guide/installing.sgml b/ghc/docs/users_guide/installing.sgml index 3dee1a9..62840c5 100644 --- a/ghc/docs/users_guide/installing.sgml +++ b/ghc/docs/users_guide/installing.sgml @@ -17,12 +17,12 @@ having a Haskell compiler.) This guide is in several parts: - Installing on Unix-a-likes (). - Installing on Windows (). - The layout of installed files (). + Installing on Unix-a-likes (). + Installing on Windows (). + The layout of installed files (). You don't need to know this to install GHC, -but it's useful if you are changing the implementation. - Installing or building the documentation (). +but it's useful if you are changing the implementation. + Installing or building the documentation (). @@ -668,7 +668,7 @@ unfortunately. Anyway, better to install 4.08 binaries and use those. -The layout of installed files This section describes what files get installed where. You don't need to know it @@ -679,19 +679,21 @@ the implementation. Binary directory - known as $(bindir), holds executables that + known as $(bindir), holds executables that the user is expected to invoke. Notably, ghc and ghci. On Unix, this directory is typically something like /usr/local/bin. On Windows, however, this directory is always $(libdir)/bin. + Library directory, - known as $(libdir), holds all the + known as $(libdir), holds all the support files needed to run GHC. On Unix, this -directory is usually something like /usr/lib/ghc/ghc-5.02. +directory is usually something like /usr/lib/ghc/ghc-5.02. + @@ -700,18 +702,20 @@ It finds this out in one of two ways: + $(libdir) is passed to GHC using the flag. On Unix (but not Windows), the installed ghc is just a one-line shell script that invokes the real GHC, passing a suitable flag. [All the user-supplied flags follow, and a later flag overrides an earlier one, so a user-supplied one wins.] - + -On Windows (but not Unix), if no flag is given, GHC uses a system + On Windows (but not Unix), if no flag is given, GHC uses a system call to find the directory in which the running GHC executable lives, and derives $(libdir) from that. [Unix lacks such a system call.] + @@ -819,14 +823,12 @@ with the Win32 distribution of GHC. The support programs ghc-split and ghc-asm are Perl scripts. The first line says #!/bin/perl; on Unix, the script is indeed invoked as a shell script, which invokes Perl; on Windows, GHC invokes -$(libdir)/extra-bin/perl -directly, +$(libdir)/extra-bin/perl directly, which treats the #!/bin/perl as a comment. Reason: on Windows we want to invoke the Perl distributed with GHC, rather than assume some installed one. - - + -- 1.7.10.4