From: simonmar Date: Wed, 9 May 2001 09:43:44 +0000 (+0000) Subject: [project @ 2001-05-09 09:43:44 by simonmar] X-Git-Tag: Approximately_9120_patches~1969 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=bd6633a94c49c6406ef379ad93d58950e8f6dd84;p=ghc-hetmet.git [project @ 2001-05-09 09:43:44 by simonmar] Document -hcsuf option --- diff --git a/ghc/docs/users_guide/flags.sgml b/ghc/docs/users_guide/flags.sgml index 37c9f5d..780f485 100644 --- a/ghc/docs/users_guide/flags.sgml +++ b/ghc/docs/users_guide/flags.sgml @@ -119,6 +119,12 @@ + suffix + set the suffix to use for intermediate C files + static + - + + suffix set the suffix to use for interface files static diff --git a/ghc/docs/users_guide/using.sgml b/ghc/docs/users_guide/using.sgml index 52f6478..d42ee47 100644 --- a/ghc/docs/users_guide/using.sgml +++ b/ghc/docs/users_guide/using.sgml @@ -581,31 +581,29 @@ ghc --make Main.hs - -ohi - -ohi + suffix + suffix + suffix + + + - - - - - - -osuf - -hisuf - -osuf - -hisuf - - EXOTICA: The -osuf - <suffix> option will change the - .o file suffix for object files to - whatever you specify. (We use this in compiling the - prelude.). - - Similarly, the -hisuf - <suffix> option will change the - .hi file suffix for non-system - interface files (see ). + EXOTICA: The + suffix will change the + .o file suffix for object files to + whatever you specify. We use this when compiling libraries, + so that objects for the profiling versions of the libraries + don't clobber the normal ones. + + Similarly, the + suffix will change the + .hi file suffix for non-system interface + files (see ). + + Finally, the option + suffix will change the + .hc file suffix for compiler-generated + intermediate C files. The / game is useful if you want to compile a program with both