Re: [Haskell-cafe] createProcess shutting file handles

2009-02-16 Thread Simon Marlow
Neil Mitchell wrote: Hi However the createProcess command structure has the close_fds flag, which seems like it should override that behaviour, and therefore this seems like a bug in createProcess. close_fds :: Bool Close all file descriptors except stdin, stdout and stderr

Re: DLL thread safety

2009-02-16 Thread Simon Marlow
Neil Mitchell wrote: Hi, I'm building a DLL using the instructions here: http://www.haskell.org/ghc/docs/latest/html/users_guide/win32-dlls.html I must call startupHaskell before I make any calls to Haskell functions. However, that page doesn't detail any thread safety rules. In particular: *

Re: DLL support with GHC

2009-02-16 Thread Simon Marlow
Neil Mitchell wrote: What is the current status of shared object support within GHC? Using GHC 6.10.2 (or the branch for it) I can create DLL's under Windows, following these instructions: http://www.haskell.org/ghc/docs/latest/html/users_guide/win32-dlls.html .Can a similar thing be done under

Re: Warning about unrecognised pragma

2009-02-16 Thread Simon Marlow
Colin Paul Adams wrote: Colin == Colin Paul Adams co...@colina.demon.co.uk writes: Colin I am getting messages: Board_representation.hs:407:0: Colin Unrecognised pragma Colin Board_representation.hs:442:0: Unrecognised pragma Colin Board_representation.hs:458:0: Unrecognised

Re: [Haskell-cafe] createProcess shutting file handles

2009-02-16 Thread Neil Mitchell
However the createProcess command structure has the close_fds flag, which seems like it should override that behaviour, and therefore this seems like a bug in createProcess. close_fds :: Bool Close all file descriptors except stdin, stdout and stderr in the new process

Re: Warning about unrecognised pragma

2009-02-16 Thread Colin Paul Adams
Simon == Simon Marlow marlo...@gmail.com writes: Simon There's a flag to turn off the warnings: Simon -fno-warn-unrecognised-pragmas. Looks like we forgot to Simon document it, though - thanks for highlighting it. Simon http://hackage.haskell.org/trac/ghc/ticket/3031 Great!

how dynamic stack approximation works

2009-02-16 Thread Peter Hercek
pepe wrote: Having (a kind of messy approximation of) a dynamic stack is possible with a variant of the cost center stacks mechanism used for profiling. But the downside is that code and libraries would need to be compiled for debugging. Is there any info somewhere why the approximation of the

Users guide missing

2009-02-16 Thread Neil Mitchell
Hi The web page: http://haskell.org/haskellwiki/GHC Links to the latest users guide as a PDF, unfortunately the file is missing: http://www.haskell.org/ghc/docs/latest/users_guide.pdf Thanks Neil ___ Glasgow-haskell-users mailing list