<br><br><div class="gmail_quote">On Mon, Jan 16, 2012 at 1:32 PM, Jason Dagit <span dir="ltr"><<a href="mailto:dagitj@gmail.com">dagitj@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Did you figure out what you need to know?</blockquote><div><br></div><div>Sadly, no.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> If not, I would suggest<br>
asking this same question but on StackOverflow (assuming you haven't<br>
already asked there).<br></blockquote><div><br></div><div>Great suggestion. Thanks!</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Jason<br>
<div><div class="h5"><br>
<br>
On Mon, Dec 19, 2011 at 2:35 PM, David Pollak<br>
<<a href="mailto:feeder.of.the.bears@gmail.com">feeder.of.the.bears@gmail.com</a>> wrote:<br>
> Howdy,<br>
><br>
> I'm trying to figure out how to get Cabal configured to compile and link my<br>
> Haskell code such that the code can be part of C and/or Objective-C code<br>
> such that all the Haskell dependencies are rolled into a .a file and can be<br>
> linked by a normal C linker (e.g., ld).<br>
><br>
> I've been<br>
> through <a href="http://haskell.org/ghc/docs/6.12.2/html/users_guide/ffi-ghc.html#using-own-main" target="_blank">http://haskell.org/ghc/docs/6.12.2/html/users_guide/ffi-ghc.html#using-own-main</a><br>
> and the associated linked, but I'm unable to find out the Cabal incantation<br>
> to output a library that's linkable into my other code. Any pointers or<br>
> examples would be greatly appreciated.<br>
><br>
> Thanks,<br>
><br>
> David<br>
><br>
> --<br>
> Visi.Pro, Cloud Computing for the Rest of Us <a href="http://visi.pro" target="_blank">http://visi.pro</a><br>
> Lift, the simply functional web framework <a href="http://liftweb.net" target="_blank">http://liftweb.net</a><br>
> Follow me: <a href="http://twitter.com/dpp" target="_blank">http://twitter.com/dpp</a><br>
> Blog: <a href="http://goodstuff.im" target="_blank">http://goodstuff.im</a><br>
><br>
><br>
><br>
</div></div>> _______________________________________________<br>
> Haskell-Cafe mailing list<br>
> <a href="mailto:Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a><br>
> <a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br>
><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div>Visi.Pro, Cloud Computing for the Rest of Us <a href="http://visi.pro" target="_blank">http://visi.pro</a></div>Lift, the simply functional web framework <a href="http://liftweb.net" target="_blank">http://liftweb.net</a><div>
Follow me: <a href="http://twitter.com/dpp" target="_blank">http://twitter.com/dpp</a><br>Blog: <a href="http://goodstuff.im" target="_blank">http://goodstuff.im</a><br></div><div><br></div><br>