# The lang/ghc port

## ghc-9.10.3 – compiler for the functional language Haskell

## Description

    The Glasgow Haskell Compiler is a state-of-the-art, open source, compiler and
    interactive environment for the functional language Haskell. Highlights:

       * GHC supports the entire Haskell 98 language plus a wide variety of
         extensions.
       * GHC works on several platforms including Windows and a few varieties of
         Unix, and a few different processor architectures. There are detailed
         instructions for porting GHC to a new platform. Which doesn't work.
       * GHC has extensive optimisation capabilities, including inter-module
         optimisation.
       * GHC compiles Haskell code either by using an intermediate C compiler
         (GCC), or by generating native code on most currently supported
         platforms. The interactive environment compiles Haskell to
         bytecode, and supports execution of mixed bytecode/compiled
         programs.
       * Profiling is supported, both by time/allocation and various kinds of
         heap profiling.
       * GHC comes with a minimal range of libraries, but a wide range of
         additional libraries are available as separate packages, including
         the full set of the Haskell Platform.

WWW: https://www.haskell.org/ghc/

Only for arches
  amd64 arm64
Categories:
  devel lang lang/python

## Library dependencies

- converters/libiconv
- devel/gmp
- devel/libffi

## Build dependencies

- STEM->=1.21:textproc/groff
- STEM->=15,<16:lang/gcc/15
- STEM->=5.4.0:archivers/xz
- archivers/bzip2
- archivers/gtar
- devel/autoconf/2.71
- devel/automake/1.16
- devel/gmake
- devel/libtool
- devel/metaauto
- devel/metaauto
- lang/python/3

## Run dependencies