<div dir="ltr"><div class="gmail_quote"><div dir="ltr">Thank you all. Everything is great now. It was because (Just ghcPath) was not passed into runGhc, and lack of ghc-path.<div><br></div><div>peace and happiness,</div><div>
-lyndon<br><br><div class="gmail_quote">
2008/9/28 Thorkil Naur <span dir="ltr"><<a href="mailto:naur@post11.tele.dk" target="_blank">naur@post11.tele.dk</a>></span><div><div></div><div class="Wj3C7c"><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello,<br>
<div><br>
On Sunday 28 September 2008 19:27, humasect wrote:<br>
> Ah, indeed it does! Then, more about GHC API:<br>
> "Shell: Shell: missing -B<dir> option"<br>
><br>
> I can't find any information of what this -B is, it is not in GHC sources or<br>
> anything helpful from google.<br>
<br>
</div>The -B is used from a ghc shell script to identify where the rest of the GHC<br>
installation resides. An example with a GHC 6.8.2 installed in<br>
$HOME/tn/install/ghc-6.8.2:<br>
<br>
> tn@linux:~> cat tn/install/ghc-6.8.2/bin/ghc<br>
> #!/bin/sh<br>
> GHCBIN=/home/tn/tn/install/ghc-6.8.2/lib/ghc-6.8.2/ghc-6.8.2<br>
> TOPDIROPT=-B/home/tn/tn/install/ghc-6.8.2/lib/ghc-6.8.2<br>
> exec $GHCBIN $TOPDIROPT ${1+"$@"}<br>
> tn@linux:~><br>
<br>
There is likely some designation for this option that I cannot recall. If it<br>
is documented anywhere, I haven't noticed.<br>
<br>
> ...<br>
<br>
Best regards<br>
<font color="#888888">Thorkil<br>
</font></blockquote></div></div></div><br></div></div>
</div><br></div>