Re: [Haskell-cafe] Cabal ignores ld-options? - 2011 remix

2011-01-31 Thread Duncan Coutts
On Mon, 2011-01-31 at 01:13 -0500, Ryan Newton wrote: Ok, I've made some progress in the direction Duncan suggested. I can filter out the extra library before the postConf hook gets it. And calling make from the hooks is pretty easy. I've got a hack working that does allow full

Re: [Haskell-cafe] Cabal ignores ld-options? - 2011 remix

2011-01-31 Thread Ryan Newton
Oops, I guess I misinterpreted package description. It did sound a little dangerous ;-). What you suggested also worked. I'm in good shape now. Thanks again, -Ryan On Mon, Jan 31, 2011 at 11:24 AM, Duncan Coutts duncan.cou...@googlemail.com wrote: On Mon, 2011-01-31 at 09:52 -0500, Ryan

Re: [Haskell-cafe] Cabal ignores ld-options? - 2011 remix

2011-01-30 Thread Duncan Coutts
On Sun, 2011-01-30 at 05:20 -0500, Ryan Newton wrote: I am trying to link a .a file built by a separate makefile into my library. GHC has no problem with it, but I need to convince cabal to do it for the package to be hackage-friendly. There's a thread about this back in 2007:

Re: [Haskell-cafe] Cabal ignores ld-options? - 2011 remix

2011-01-30 Thread Ryan Newton
Thanks Duncan, Alas, I don't think it's something I want to install globally on the users machine. It's actually not much code, but I can't get cabal to build it directly because it chokes on the .s assembly files (which are intel syntax not ATT). Right now I'm depending on yasm. The makefile