~ubuntu-branches/debian/sid/c2hs/sid

« back to all changes in this revision

Viewing changes to doc/c2hs/man1/c2hs-config.1.in

  • Committer: Bazaar Package Importer
  • Author(s): Arjan Oosting
  • Date: 2006-12-14 00:06:12 UTC
  • mfrom: (3.1.5 feisty)
  • Revision ID: james.westby@ubuntu.com-20061214000612-s7mds83cxqkgv1bj
Tags: 0.14.5-6
* debian/patches/09_replace-deprecated-withObject: Replace all
  occurrences of 'withObject' with 'with' as the deprecated 'withObject'
  was removed with GHC 6.6. (Closes: #402979)
* Set the urgency to medium as the above bug decreases c2hs usefulness
  with GHC 6.6 dramatically. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
.\" Hey Emacs! This file is -*- nroff -*- source.
2
 
.\"
3
 
.\" Version $Revision: 1.2 $ from $Date: 2002/09/15 07:00:41 $
4
 
.\"
5
 
.TH C2HS 1 "14 November 1999" "Version @VERSION@" C\->Haskell
6
 
.SH NAME
7
 
c2hs-config \- script to get information about the C2HS marshalling library.
8
 
 
9
 
.SH SYNOPSIS
10
 
.B c2hs-config
11
 
[\-\-c2hs]
12
 
[\-\-system=HS]
13
 
[\-\-version]
14
 
[\-\-libs]
15
 
[\-\-cflags]
16
 
[\-\-prefix[=\fIDIR\fP]]
17
 
[\-\-exec\-prefix[=\fIDIR\fP]]
18
 
 
19
 
.SH DESCRIPTION
20
 
This manual page briefly describes the
21
 
.B c2hs-config 
22
 
command.  For more details, refer to the main documentation, which is
23
 
available in various other formats, including SGML and HTML; see below.
24
 
.PP
25
 
 
26
 
.SH OPTIONS
27
 
.B c2hs-config
28
 
accepts the following options:
29
 
.TP
30
 
.B  \-\-c2hs
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.
35
 
.TP
36
 
.BR \-\-system= HS
37
 
Select the target compilation system. Currently, only \fBghc4\fR is supported,
38
 
but this may change in future releases.
39
 
.TP
40
 
.B  \-\-version
41
 
Print the currently installed version of \fIC2HS\fP to the standard output.
42
 
.TP
43
 
.B  \-\-libs
44
 
Print the linker flags that are necessary to link a program against the
45
 
\fIC2HS\fP library.
46
 
.TP
47
 
.B  \-\-cflags
48
 
Print the compiler flags that are necessary to compile a program using the
49
 
\fIC2HS\fP library.
50
 
.TP
51
 
.BI  \-\-prefix= DIR
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
54
 
\-\-cflags and
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.
58
 
.TP
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.
64
 
 
65
 
.SH "SEE ALSO"
66
 
.B c2hs(1)
67
 
 
68
 
.I @DOCDIR@/html/c2hs.html
69
 
 
70
 
.SH COPYRIGHT
71
 
C\->Haskell Version @VERSION@ Copyright (c) [1999..2002] 
72
 
Manuel M. T. Chakravarty <chak@cse.unsw.edu.au>
73
 
 
74
 
.SH AUTHOR
75
 
This manual page was mainly copied from the gtk-config manual page.
76
 
 
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).