Download The Glorious Glasgow Haskell Compilation System User`s Guide

Transcript
Using GHC
Flag
Description
Static/Dynamic
Reverse
-e expr
Evaluate expr
mode
-
-M
Generate dependency information suitable for use
in a Makefile.
mode
-
4.17.4. Redirecting output
Section 4.6.4, “Redirecting the compilation output(s)”
Flag
Description
Static/Dynamic
Reverse
-hcsuf suffix
set the suffix to use for intermediate C files
dynamic
-
-hidir dir
set directory for interface
files
dynamic
-
-hisuf suffix
set the suffix to use for interface files
dynamic
-
-o filename
set output filename
dynamic
-
-odir dir
set output directory
dynamic
-
-ohi filename
set the filename in which to dynamic
put the interface
-osuf suffix
set the output file suffix
dynamic
-
-stubdir dir
redirect FFi stub files
dynamic
-
4.17.5. Keeping intermediate files
Section 4.6.5, “Keeping Intermediate Files”
Flag
Description
Static/Dynamic
Reverse
-keep-hc-file
retain intermediate .hc
files
dynamic
-
-keep-s-file
retain intermediate .s files dynamic
-
-keep-raw-s-file
retain intermediate
.raw_s files
dynamic
-
-keep-tmp-files
retain all intermediate tem- dynamic
porary files
-
4.17.6. Temporary files
Section 4.6.6, “Redirecting temporary files”
Flag
Description
Static/Dynamic
-tmpdir
set the directory for tempor- dynamic
ary files
101
Reverse
-