Compile OpenGL for jhc

Hi! As OpenGL haskell binding depends only on base, it would be great to compile it with jhc. I've tried to do that, but I had some problems with preprocessor directives. It would be also great to add jhc support for OpenGL bindings build scripts. Or, it would be better to add jhc support for cabal-install. :) Is there anyone who has any idea any of this things? (for soulution)

I don't know about OpenGL specifically, but there is the --jhc flag
for cabal-install, ex:
cabal --jhc Crypto
Thomas
2009/3/26 Csaba Hruska
Hi!
As OpenGL haskell binding depends only on base, it would be great to compile it with jhc. I've tried to do that, but I had some problems with preprocessor directives. It would be also great to add jhc support for OpenGL bindings build scripts. Or, it would be better to add jhc support for cabal-install. :)
Is there anyone who has any idea any of this things? (for soulution)
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Sorry for the double but I messed up the example. That should have been:
cabal --jhc install Crypto
On Thu, Mar 26, 2009 at 2:10 PM, Thomas DuBuisson
I don't know about OpenGL specifically, but there is the --jhc flag for cabal-install, ex:
cabal --jhc Crypto
Thomas
2009/3/26 Csaba Hruska
: Hi!
As OpenGL haskell binding depends only on base, it would be great to compile it with jhc. I've tried to do that, but I had some problems with preprocessor directives. It would be also great to add jhc support for OpenGL bindings build scripts. Or, it would be better to add jhc support for cabal-install. :)
Is there anyone who has any idea any of this things? (for soulution)
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Here is the error message of: cabal --jhc install OpenGL
http://pastebin.com/m541052a3
2009/3/26 Thomas DuBuisson
Sorry for the double but I messed up the example. That should have been:
cabal --jhc install Crypto
I don't know about OpenGL specifically, but there is the --jhc flag for cabal-install, ex:
cabal --jhc Crypto
Thomas
2009/3/26 Csaba Hruska
: Hi!
As OpenGL haskell binding depends only on base, it would be great to compile it with jhc. I've tried to do that, but I had some problems with preprocessor directives. It would be also great to add jhc support for OpenGL bindings build
On Thu, Mar 26, 2009 at 2:10 PM, Thomas DuBuisson
wrote: scripts. Or, it would be better to add jhc support for cabal-install. :)
Is there anyone who has any idea any of this things? (for soulution)
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
participants (2)
-
Csaba Hruska
-
Thomas DuBuisson