Re: [Haskell-cafe] How to get Cabal to spit out a .a library suitable for linking into C/Objective-C

2012-01-20 Thread David Pollak
On Mon, Dec 26, 2011 at 4:40 PM, Donn Cave d...@avvanta.com wrote: Sorry about the belated response, but this shouldn't be a problem since it isn't going to be very helpful anyway! I've managed to follow the process described on this page:

Re: [Haskell-cafe] How to get Cabal to spit out a .a library suitable for linking into C/Objective-C

2012-01-20 Thread David Pollak
On Mon, Jan 16, 2012 at 1:32 PM, Jason Dagit dag...@gmail.com wrote: Did you figure out what you need to know? Sadly, no. If not, I would suggest asking this same question but on StackOverflow (assuming you haven't already asked there). Great suggestion. Thanks! Jason On Mon,

Re: [Haskell-cafe] How to get Cabal to spit out a .a library suitable for linking into C/Objective-C

2012-01-20 Thread Jeremy O'Donoghue
Hi David, On 20 January 2012 22:34, David Pollak feeder.of.the.be...@gmail.comwrote: On Mon, Jan 16, 2012 at 1:32 PM, Jason Dagit dag...@gmail.com wrote: Did you figure out what you need to know? Sadly, no. If not, I would suggest asking this same question but on StackOverflow

Re: [Haskell-cafe] How to get Cabal to spit out a .a library suitable for linking into C/Objective-C

2012-01-16 Thread Jason Dagit
Did you figure out what you need to know? If not, I would suggest asking this same question but on StackOverflow (assuming you haven't already asked there). Jason On Mon, Dec 19, 2011 at 2:35 PM, David Pollak feeder.of.the.be...@gmail.com wrote: Howdy, I'm trying to figure out how to get

Re: [Haskell-cafe] How to get Cabal to spit out a .a library suitable for linking into C/Objective-C

2011-12-26 Thread Donn Cave
Sorry about the belated response, but this shouldn't be a problem since it isn't going to be very helpful anyway! I've managed to follow the process described on this page: http://www.haskell.org/haskellwiki/Using_Haskell_in_an_Xcode_Cocoa_project to link Haskell code to a non-Haskell main

[Haskell-cafe] How to get Cabal to spit out a .a library suitable for linking into C/Objective-C

2011-12-19 Thread David Pollak
Howdy, I'm trying to figure out how to get Cabal configured to compile and link my Haskell code such that the code can be part of C and/or Objective-C code such that all the Haskell dependencies are rolled into a .a file and can be linked by a normal C linker (e.g., ld). I've been through