haskell

Haskell on OpenBSD

openbsd

New/Updated
· [20051120] darcs 1.0.4
· [20051024] cpphs 1.0
· [20050526] darcs 1.0.3
· [20050519] c2hs 0.13.6
· [20050516] darcs 1.0.3rc2
· [20050509] darcs 1.0.3rc1
· [20050326] hs-ports 0.4.3
· [20050325] c2hs 0.13.4
· [20050324] hugs Mar05
· [20050323] hmake 3.10
· [20050323] cpphs 0.9
· [20050218] cpphs 0.8
. [20050218] amd64/ghc-6.2.2
· [20050214] hmake 3.09
· [20050214] darcs 1.0.2
· [20050214] ghc 6.2.2
. [20040915] ghc nightly builds
· [20040731] darcs 0.9.23
· [20040516] idoc
· [20040515] ghci into ghc cvs
· [20040510] nhc98
· [20040509] hs-ports
· [20040508] c2hs
· [20040507] hugs
· [20040503] hs-crypto
· [20040428] darcs
· [20040426] ghc-6.2.1
· [20040422] hmake 3.08
· [20040422] happy-1.14
· [20040422] haddock 0.6
· [20040422] alex 2.0

Links
· Building an OpenBSD Port
· Haskell on FreeBSD

This page aims to give an overview of Haskell related ports on OpenBSD. Haskell is well supported on the most common OpenBSD architectures, and work is underway to extend this support. Remember, Haskell is also free, functional, and secure!

Making ports

If there is something Haskell related you like to see in the OpenBSD ports tree, feel open to drop me a note. If you want to make the port yourself, please read the the manual first. If you are porting a library you may wish to look at hs-crypto, which provides an example of how to integrate the library with GHC's package management system.

Packages

OpenBSD packages of various Haskell ports get built in the usual package snapshot builds, you may also find snapshot builds here. The 6 monthly OpenBSD releases also include packages, based on the state of the ports tree at the time of release. You may find some Haskell ports at ftp.openbsd.org, or one of its mirrors.

Supported Architectures

  • Binary packages of ghc-6.2.2 are available for i386 and amd64.
  • A binary package of nhc98-1.16 is available for i386, sparc
  • Binary packages of hugs98-Mar2005 are available for alpha, amd64, i386, powerpc, sparc and sparc64.

Nightly Builds

There are nightly builds of GHC's current and stable branches for OpenBSD-current. They are available at:

HEAD branch (development snapshots):

STABLE branch (snapshots along the stable branch; release candidates for

Future

I will continue to port GHC and Haskell tools and libraries, when I have time. If there is something particular you need, try creating a port following these instructions, and drop me a line.

Outstanding Issues

  1. amd64/ghc is unregisterised because of a bug in gcc3.3. We must wait for gcc3.4 for this to be fixed. However, amd64 unregisterised is as fast as a i386 registerised, roughly.
  2. Porting GHC to new architectures is time consuming ;)
  3. Support for split objs is broken. Split libraries are correctly generated, but I'm so far unable to link ghc against split library archives. I suspect a bug in ld.

Port Entries in CVS
· devel/alex
· devel/c2hs
· devel/cpphs
· devel/darcs
· devel/haddock
· devel/happy
· devel/hmake
· devel/hs-ports
· devel/idoc
· lang/ghc
· lang/gofer
· lang/hugs
· lang/nhc98
· security/hs-crypto


Don Stewart <dons@openbsd.org> Last update: Fri Dec 2 14:45:08 EST 2005