| Cabal-1.2.4.0: A framework for packaging Haskell software | Source code | Contents | Index

Distribution.Simple.GHC

Portability | portable
Stability | alpha
Maintainer | Isaac Jones <ijones@syntaxpolice.org>

Description
Build and Install implementations for GHC. See `GHCPackageConfig` for registration-related stuff.
Synopsis

configure :: Verbosity -> Maybe FilePath -> Maybe FilePath -> ProgramConfiguration -> IO (Compiler, ProgramConfiguration)
getInstalledPackages :: Verbosity -> PackageDB -> ProgramConfiguration -> IO [PackageIdentifier]
build :: PackageDescription -> LocalBuildInfo -> Verbosity -> IO ()
makefile :: PackageDescription -> LocalBuildInfo -> MakefileFlags -> IO ()
installLib :: Verbosity -> LocalBuildInfo -> FilePath -> FilePath -> FilePath -> PackageDescription -> IO ()
installExe :: Verbosity -> FilePath -> FilePath -> PackageDescription -> IO ()
ghcVerbosityOptions :: Verbosity -> [String]

Documentation

configure :: Verbosity -> Maybe FilePath -> Maybe FilePath -> ProgramConfiguration -> IO (Compiler, ProgramConfiguration) | Source

getInstalledPackages :: Verbosity -> PackageDB -> ProgramConfiguration -> IO [PackageIdentifier] | Source

build :: PackageDescription -> LocalBuildInfo -> Verbosity -> IO () | Source

Building for GHC. If .ghc-packages exists and is readable, add it to the command-line.

makefile :: PackageDescription -> LocalBuildInfo -> MakefileFlags -> IO () | Source

installLib | Source

:: Verbosity | verbosity
-> LocalBuildInfo |
-> FilePath | install location
-> FilePath | install location for dynamic librarys
-> FilePath | Build location
-> PackageDescription |
-> IO () |
Install for ghc, .hi, .a and, if --with-ghci given, .o

installExe | Source

:: Verbosity | verbosity
-> FilePath | install location
-> FilePath | Build location
-> PackageDescription |
-> IO () |
Install executables for GHC.

ghcVerbosityOptions :: Verbosity -> [String] | Source

Produced by Haddock version 0.9