c2hs-config1
Script to get information about the c2hs marshalling library.
Usage
c2hs-config [--c2hs]
[--system=HS]
[--version]
[--libs]
[--cflags]
[--prefix
[=DIR]]
[--exec-prefix
[=DIR]]
Overview
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
ghc4is 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.
Releases
2 releases since Debian 3.0 (Woody); the text changed 1 time.