Hello,
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
$HOME/tn/install/ghc-6.8.2:
> tn@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@linux:~>
There is likely some designation for this option that I cannot recall. If it
is documented anywhere, I haven't noticed.
> ...
Best regards
Thorkil