<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">&lt;<a href="mailto:naur@post11.tele.dk" target="_blank">naur@post11.tele.dk</a>&gt;</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>
&gt; Ah, indeed it does! Then, more about GHC API:<br>
&gt; &quot;Shell: Shell: missing -B&lt;dir&gt; option&quot;<br>
&gt;<br>
&gt; I can&#39;t find any information of what this -B is, it is not in GHC sources or<br>
&gt; 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>
&gt; tn@linux:~&gt; cat tn/install/ghc-6.8.2/bin/ghc<br>
&gt; #!/bin/sh<br>
&gt; GHCBIN=/home/tn/tn/install/ghc-6.8.2/lib/ghc-6.8.2/ghc-6.8.2<br>
&gt; TOPDIROPT=-B/home/tn/tn/install/ghc-6.8.2/lib/ghc-6.8.2<br>
&gt; exec $GHCBIN $TOPDIROPT ${1+&quot;$@&quot;}<br>
&gt; tn@linux:~&gt;<br>
<br>
There is likely some designation for this option that I cannot recall. If it<br>
is documented anywhere, I haven&#39;t noticed.<br>
<br>
&gt; ...<br>
<br>
Best regards<br>
<font color="#888888">Thorkil<br>
</font></blockquote></div></div></div><br></div></div>
</div><br></div>