From: simonmar Date: Fri, 14 Jul 2000 09:34:02 +0000 (+0000) Subject: [project @ 2000-07-14 09:34:02 by simonmar] X-Git-Tag: Approximately_9120_patches~4013 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=e377ca57077819dcb538c01e1e4f50e83050778c;p=ghc-hetmet.git [project @ 2000-07-14 09:34:02 by simonmar] Add a section describing GHC's version numbering policy. --- diff --git a/ghc/docs/users_guide/intro.sgml b/ghc/docs/users_guide/intro.sgml index b33a1f2..deaea8b 100644 --- a/ghc/docs/users_guide/intro.sgml +++ b/ghc/docs/users_guide/intro.sgml @@ -44,11 +44,13 @@ compilation systems, has several interacting parts: -A driverdriver program +A driverdriver +program ghcghc—which -you usually think of as “the compiler”—is a program that merely -invokes/glues-together the other pieces of the system (listed below), -passing the right options to each, slurping in the right libraries, etc. +you usually think of as “the compiler”—is a program +that merely invokes/glues-together the other pieces of the system +(listed below), passing the right options to each, slurping in the +right libraries, etc. @@ -213,18 +215,14 @@ of this guide! - -Meta-information: Web sites, mailing lists, etc. - + + Meta-information: Web sites, mailing lists, etc. - -mailing lists, Glasgow Haskell -Glasgow Haskell mailing lists - + mailing lists, Glasgow Haskell + Glasgow Haskell mailing lists - -On the World-Wide Web, there are several URLs of likely interest: - +On the World-Wide Web, there are several URLs of likely +interest: @@ -354,7 +352,76 @@ Some Haskell-related discussion takes place in the Usenet newsgroup comp.lang.functional. - + + + + GHC version numbering policy + version, of ghc + + As of GHC version 4.08, we have adopted the following + policy for numbering GHC versions: + + + + Stable Releases + + These are numbered x.yy.z, where + yy is even, and + z is the patchlevel number (the trailing + .z can be omitted if z + is zero). Patchlevels are bug-fix releases only, and never + change the programmer interface to any system-supplied code. + However, if you install a new patchlevel over an old one you + may need to recompile any code that was compiled against the + old libraries. + + The value of __GLASGOW_HASKELL__ + (see ) for a major release + x.yy.z is the integer + xyy. + + __GLASGOW_HASKELL__ + + + + + + Snapshots/unstable releases + + We may make snapshot releases of the current + development sources from time to time, and the current + sources are always available via the CVS repository (see the + GHC web site for details). + + Snapshot releases are named + x.yy.DDMMYYYY where yy + is odd, and DDMMYYYY + is the date of the sources from which the snapshot was + built. In theory, you can check out the exact same sources + from the CVS repository using this date. + + The value of __GLASGOW_HASKELL__ + for a snapshot release is the integer + xyy. You should never write any + conditional code which tests for this value, however: since + interfaces change on a day-to-day basis, and we don't have + finer granularity in the values of + __GLASGOW_HASKLL__, you should only + conditionally compile using predicates which test whether + __GLASGOW_HASKELL__ is equal to, later + than, or earlier than a given major release. + + __GLASGOW_HASKELL__ + + + + + + The version number of your copy of GHC can be found by + invoking ghc with the + --version flag. + + &relnotes