X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fdocs%2Fusers_guide%2Futils.sgml;h=633a7796ded133380a1e1f5e19d49fd9ea2cc83b;hb=3b4e398466c0a8b037e112d40bb20b77a9b42bf0;hp=e9839af17ba60356ac736e7319314ec098e3a7aa;hpb=6aae7d069771a18e31dceacb1996b10eddc693de;p=ghc-hetmet.git
diff --git a/ghc/docs/users_guide/utils.sgml b/ghc/docs/users_guide/utils.sgml
index e9839af..633a779 100644
--- a/ghc/docs/users_guide/utils.sgml
+++ b/ghc/docs/users_guide/utils.sgml
@@ -148,7 +148,8 @@ tags:
- --cc=PROG
+ -c PROG or
+ --cc=PROG
The C compiler to use (default:
ghc)
@@ -156,7 +157,8 @@ tags:
- --ld=PROG
+ -l PROG or
+ --ld=PROG
The linker to use (default:
gcc).
@@ -164,7 +166,8 @@ tags:
- --cflag=FLAG
+ -C FLAG or
+ --cflag=FLAG
An extra flag to pass to the C compiler.
@@ -178,14 +181,16 @@ tags:
- --lflag=FLAG
+ -L FLAG or
+ --lflag=FLAG
An extra flag to pass to the linker.
- --include=FILE
+ -i FILE or
+ --include=FILE
As if the appropriate #include
directive was placed in the source.
@@ -193,15 +198,40 @@ tags:
+ -D NAME[=VALUE] or
+ --define=NAME[=VALUE]
+
+ As if the appropriate #define
+ directive was placed in the source.
+
+
+
+
+ -o FILE or
+ --output=FILE
+
+ Name of the Haskell file.
+
+
+
+
--help
Display a summary of the available flags.
+
+
+ --version
+
+ Output version information.
+
+
- The input file should end with .hsc. Output files get
- names with the .hsc suffix replaced:
+ The input file should end with .hsc. Output files by
+ default get names with the .hsc suffix
+ replaced:
@@ -211,11 +241,11 @@ tags:
Haskell file
- .hs.h
+ _hsc.h
C header
- .hs.c
+ _hsc.c
C file