man c2hs-config (Commandes) - script to get information about the C2HS marshalling library.
NAME
c2hs-config - script to get information about the C2HS marshalling library.
SYNOPSIS
c2hs-config [--c2hs] [--system=HS] [--version] [--libs] [--cflags] [--prefix[=DIR]] [--exec-prefix[=DIR]]
DESCRIPTION
This manual page briefly describes the c2hs-config command. For more details, refer to the main documentation, which is available in various other formats, including SGML and HTML; see below.
OPTIONS
c2hs-config accepts the following options:
- --c2hs
- Print the path to the c2hs-config tool itself. This slightly simplifies configuration management of libraries generated by C->Haskell, as it is sufficient to know the location of c2hs-config to access all other components of C->Haskell.
- --system=HS
- Select the target compilation system. Currently, only ghc4 is supported, but this may change in future releases.
- --version
- Print the currently installed version of C2HS to the standard output.
- --libs
- Print the linker flags that are necessary to link a program against the C2HS library.
- --cflags
- Print the compiler flags that are necessary to compile a program using the C2HS library.
- --prefix=DIR
- If specified, use DIR instead of the installation directory that C->Haskell was built with when computing the output for the --cflags and --libs options. This option is also used for the exec directory if --exec-prefix was not specified. This option must be specified before any --libs or --cflags options.
- --exec-prefix=DIR
- If specified, use DIR instead of the installation exec directory that C2HS was built with when computing the output for the --cflags and --libs options. This option must be specified before any --libs or --cflags options.
SEE ALSO
COPYRIGHT
C->Haskell Version 0.13.6 Copyright (c) [1999..2002] Manuel M. T. Chakravarty <chak@cse.unsw.edu.au>
AUTHOR
This manual page was mainly copied from the gtk-config manual page.
It was written by Michael Weber <michael.weber@post.rwth-aachen.de> for the Debian GNU/Linux system (but may be used by others).