ANNOUNCE: GHC 6.10.1 beta

Thorkil Naur naur at
Sun Sep 28 15:09:14 EDT 2008


On Sunday 28 September 2008 19:27, humasect wrote:
> Ah, indeed it does! Then, more about GHC API:
> "Shell: Shell: missing -B<dir> option"
> I can't find any information of what this -B is, it is not in GHC sources or
> anything helpful from google.

The -B is used from a ghc shell script to identify where the rest of the GHC 
installation resides. An example with a GHC 6.8.2 installed in 

> tn at linux:~> cat tn/install/ghc-6.8.2/bin/ghc
> #!/bin/sh
> GHCBIN=/home/tn/tn/install/ghc-6.8.2/lib/ghc-6.8.2/ghc-6.8.2
> TOPDIROPT=-B/home/tn/tn/install/ghc-6.8.2/lib/ghc-6.8.2
> exec $GHCBIN $TOPDIROPT ${1+"$@"}
> tn at linux:~>

There is likely some designation for this option that I cannot recall. If it 
is documented anywhere, I haven't noticed.

> ...

Best regards

More information about the Glasgow-haskell-users mailing list