1
.\" Hey Emacs! This file is -*- nroff -*- source.
3
.\" Version $Revision: 1.2 $ from $Date: 2002/09/15 07:00:41 $
5
.TH C2HS 1 "14 November 1999" "Version @VERSION@" C\->Haskell
7
c2hs-config \- script to get information about the C2HS marshalling library.
16
[\-\-prefix[=\fIDIR\fP]]
17
[\-\-exec\-prefix[=\fIDIR\fP]]
20
This manual page briefly describes the
22
command. For more details, refer to the main documentation, which is
23
available in various other formats, including SGML and HTML; see below.
28
accepts the following options:
31
Print the path to the \flc2hs-config\fR tool itself. This slightly
32
simplifies configuration management of libraries generated by C\->Haskell, as
33
it is sufficient to know the location of c2hs-config to access all other
34
components of C\->Haskell.
37
Select the target compilation system. Currently, only \fBghc4\fR is supported,
38
but this may change in future releases.
41
Print the currently installed version of \fIC2HS\fP to the standard output.
44
Print the linker flags that are necessary to link a program against the
48
Print the compiler flags that are necessary to compile a program using the
52
If specified, use \fIDIR\fR instead of the installation directory that
53
\fIC\->Haskell\fP was built with when computing the output for the
55
\-\-libs options. This option is also used for the exec directory
56
if \-\-exec\-prefix was not specified. This option must be specified before
57
any \-\-libs or \-\-cflags options.
59
.BI \-\-exec\-prefix= DIR
60
If specified, use \fIDIR\fR instead of the installation exec directory that
61
\fIC2HS\fP was built with when computing the output for the \-\-cflags
62
and \-\-libs options. This option must be specified before any
63
\-\-libs or \-\-cflags options.
68
.I @DOCDIR@/html/c2hs.html
71
C\->Haskell Version @VERSION@ Copyright (c) [1999..2002]
72
Manuel M. T. Chakravarty <chak@cse.unsw.edu.au>
75
This manual page was mainly copied from the gtk-config manual page.
77
It was written by Michael Weber <michael.weber@post.rwth-aachen.de> for the
78
Debian GNU/Linux system (but may be used by others).