RE: GHC 6.4.1 and Win32 DLLs: Bug in shutdownHaskell?

2006-03-10 Thread Simon Marlow
On 09 March 2006 18:19, Michael Marte wrote:

 Simon Marlow wrote:
 
 Michael Marte wrote:
 
 Lennart Augustsson wrote:
 
 I'm not implying anything, except that I've plugged the space
 leak of 256M every time a DLL is loadedunloaded.
 
 -- Lennart
 
 Michael Marte wrote:
 
 Lennart,
 
 do you imply that you have fixed the problem causing the crashes?
 May I safely assume that DLLs produced by ghc 6.4.2 will not crash
 upon being freed?
 
 
 
 I wanted to test the fix for ticket #711 but I am stuck because
 there is no current snapshot of ghc 6.5 for mingw. (The last one is
 dated end of February, the patch was commited on  March, 2nd.)
 
 
 The patch hasn't been committed at all, AFAIK.
 
 Ok, it am new to Darcs, so this patch is only a proposal contained in
 the ticket?
 
 
 I saw that the patch is scheduled for milestone 6.4.2 but has been
 commited only for 6.5. When will it be available for 6.4.2?
 
 I started learning to compile ghc and I have succeeded with the
 current head of the 6.4 branch on Debian Linux/testing. Next step is
 to compile the head on this system. My current problem is a missing
 symbol when linking stage1/ghc-6.5, namely u_gencat  referenced by
 stage1/parser/Lexer.o. Am I missing some library?
 (I think my sources are up to date, I pulled only half an hour ago.)
 
 
 When compiling with 6.4.1 or later, u_gencat should come from
 libHSbase_cbits.a in your 6.4.1 installation.  Is it there?
 
 
 No, I am compiling with plain 6.4 (a newer Debain package is not
 available) and it does not have u_gencat in this library.
 However I can compile the head of the 6.4 branch which in turn should
 be able to compile the head, shouldn't it?

Yes, I think a plain 6.4 can't compile the HEAD right now.  We'll try to
fix this, but for now you should use a 6.4.1 or later.

Cheers,
Simon
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


RE: Re[2]: How to find out the C type signature corresponding to a Haskell function type in FFI?

2006-03-10 Thread Simon Marlow
On 09 March 2006 16:39, Bulat Ziganshin wrote:

 Hello Simon,
 
 Thursday, March 9, 2006, 5:08:09 PM, you wrote:
 
 for small home projects you can even use Int and int which
 would work in most of Haskell implementations
 
 Yes, and to give a concrete example:  HsInt and int are different
 types on x86_64 (and most other 64-bit C implementations).
 
 yes, it's better to use Int and long types :)

I hope that smiley means you're joking...

Cheers,
Simon
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


printing No. of reductions in GHCi

2006-03-10 Thread RHafiz

Hello there
Is there anyway to find out the number of reductions per execution in GHC?

(In Hugs , :set +s prints no of reductions but in GHC, the same command
prints time and memory.)

Thanks a lot in advance.
RHafiz

--
View this message in context: 
http://www.nabble.com/printing-No.-of-reductions-in-GHCi-t1262464.html#a3349873
Sent from the Haskell - Glasgow-haskell-users forum at Nabble.com.

___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users