Re: Foreign C with pointers

2007-12-19 Thread Luis Cabellos
Thanks to all, that is the example that i need. I'll test the example.zip right now. -- Luis Cabellos ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Re: binary-dists for ghc-6.8.2

2007-12-19 Thread Christian Maeder
Christian Maeder wrote: Dear all, I've built binary distributions for Mac OS 10.4 (Tiger) based on (better supported) GMP and GNUreadline frameworks and for Solaris 10. http://www.dfki.de/sks/hets/mac/versions/ghc-6.8.2-powerpc-apple-darwin.tar.bz2

Re: Foreign C with pointers

2007-12-19 Thread Lemmih
On Dec 19, 2007 3:05 AM, John Vogel [EMAIL PROTECTED] wrote: Lol, I am surprised that the library even compiled without the return addr;. But, this definition is correct: Well, yeah, for some value of correct. It works in this case but it will most likely bite you if you use it in any

Re: ANNOUNCE: GHC version 6.8.2

2007-12-19 Thread Judah Jacobson
On Dec 18, 2007 8:54 PM, Manuel M T Chakravarty [EMAIL PROTECTED] wrote: Judah Jacobson: - Statically linking against GMP puts extra license requirements on any ghc-compiled program; thus, dynamic linking is preferable. Dynamic linking is preferable, because it is the simplest way to

Re: [Haskell-cafe] Dynamic typing of polymorphic functions

2007-12-19 Thread Alfonso Acosta
On Dec 19, 2007 9:13 PM, Neil Mitchell [EMAIL PROTECTED] wrote: OK, If you managed to read until this point, you might have noticed that, due to the monomorphism restriction implied by Data.Typeable, it is impossible to build polymorphic processes. Tom Shackell had similar issues with

Building GHC 6.6.1 on Leopard/PPC

2007-12-19 Thread jcharum
I've been trying to get a working GHC 6.6.1 build on my Leopard box with little success. I am trying to follow the Booting/porting from C (.hc) files instructions here: http://hackage.haskell.org/trac/ghc/wiki/Building/Porting When I build the HC file bundle, I get errors about rts/AutoApply_*

Re: ANNOUNCE: GHC version 6.8.2

2007-12-19 Thread Manuel M T Chakravarty
Judah Jacobson: On Dec 18, 2007 8:54 PM, Manuel M T Chakravarty [EMAIL PROTECTED] wrote: Judah Jacobson: - Statically linking against GMP puts extra license requirements on any ghc-compiled program; thus, dynamic linking is preferable. Dynamic linking is preferable, because it is the

Re: [Haskell] Re: ANNOUNCE: GHC version 6.8.2

2007-12-19 Thread Manuel M T Chakravarty
Jules Bean: Manuel M T Chakravarty wrote: PS: Moreover, binaries produced by the above compiler will run on any Leopard box. That's great news. Can you add a note about how you achieved that to http://hackage.haskell.org/trac/ghc/ticket/1540 please? My previous attempts to distribute

Re: C Preprocessor

2007-12-19 Thread John Meacham
On Thu, Dec 06, 2007 at 04:59:48PM +0200, Antti-Juhani Kaijanaho wrote: On Thu, Dec 06, 2007 at 10:43:30AM +0100, Bernd Brassel wrote: Is it already a known problem that the preprocessor cannot cope with the whole set of possible string declarations? The cpp is a *C* preprocessor, and if

How do you get the process id out of the ProcessHandle in Win XP?

2007-12-19 Thread John Vogel
Here is what I have tried: module Main where import System.Process -- using runInteractiveProcess import System.Posix.Types import System.Process.Internals import Control.Concurrent.MVar main = do (input,output,err,ph) - runInteractiveProcess calc.exe ([]) Nothing Nothing p - Main.getPID