Re: [Haskell-cafe] greencard and cabal, how to do it right?

2006-12-17 Thread Marc Weber
Anyway, how to set the options using cabal ? the preprocessor is there so there must be a working way without my modifications I don't know about. > And Greencard.hs isn't just empty? No, Greencard.*gc* looks like: module Main where import Test.QuickCh

Re: [Haskell-cafe] greencard and cabal, how to do it right?

2006-12-17 Thread Lemmih
On 12/17/06, Marc Weber <[EMAIL PROTECTED]> wrote: > suggests that it wants "--libdir=../c_lib" > instead of "--libdir ../c_lib". Could this be the case? I'd like to > think it would parse them pretty much the same way but you can never be > sure... Hi Dougal. Thanks for your suggestion. This mig

Re: [Haskell-cafe] greencard and cabal, how to do it right?

2006-12-17 Thread Marc Weber
> suggests that it wants "--libdir=../c_lib" > instead of "--libdir ../c_lib". Could this be the case? I'd like to > think it would parse them pretty much the same way but you can never be > sure... Hi Dougal. Thanks for your suggestion. This might be the case. But is not here. (I could have bet

Re: [Haskell-cafe] greencard and cabal, how to do it right?

2006-12-17 Thread Dougal Stanton
Quoth Marc Weber, nevermore: $ ls; ./setup -v build || echo -e "\n\n ===> build failed \n\n"; eval `./setup -v build 2>&1 | grep /usr/local/bin/greencard` && echo -e "\n\n => this works why?" ; ls 1> Greencard.cabal Greencard.gc Greencard_stub_ffi.c Greencard_stub_ffi.h dis

[Haskell-cafe] greencard and cabal, how to do it right?

2006-12-17 Thread Marc Weber
I want to have a look at fruit which is using GCJNI, greencard, ... That's why I want to learn how to use greencard with cabal. If this is only a RTFM problem, can you point me to the docs? When using the cabal builtin preprocessor I get the error that --libdir has to be specified. So I tried ad