RE: wanted: tester for libraries/Win32

2004-05-05 Thread Mike Thomas
Hi Ross. I CVS updated libraries/Win32 and libraries/HGL in a HEAD fptools build tree from a few weeks ago then "make boot" and "make" in each followed by "make" in the HGL examples directory. I hadn't realised that the hsc binding existed. All built but running was a bit sad: gtest - crashes

Re: Integrating ghc's rts into other single-threaded frameworks

2004-05-05 Thread Wolfgang Thaller
So here's what I don't understand: we make a non-blocking call to gtk+'s main loop So far, so good. (which makes a blocking call in a new OS thread). With (the current version of) GHC's threaded RTS, there's only one OS thread involved until you spawn a second thread (with forkIO or forkOS). S

RE: Integrating ghc's rts into other single-threaded frameworks

2004-05-05 Thread Duncan Coutts
On Wed, 2004-05-05 at 14:55, Simon Peyton-Jones wrote: > | I'm thinking about how to make threaded Haskell program work nicely > with Gtk+ (the widget toolkit) and whether the new threaded rts will > help or not. > | Would bound threads help? I'm not sure I understand the idea very > well. > > Tha

Re: [HOpenGL] GHC 6.2.1 Binding Completeness

2004-05-05 Thread Sven Panne
[ I'm cross-posting this, perhaps some kind soul has binary snapshots available. ] Yann Morvan wrote: [...] I recently installed the last version of GHC (6.2.1) that comes with the new OpenGL binding. I was just starting to port my code to it, but I have trouble finding some basic functionnalities

RE: GHC 6.2.1 compilation fails when compiling FFI code with -prof or -O2

2004-05-05 Thread Simon Marlow
On 21 April 2004 13:49, Bayley, Alistair wrote: > Sorry for the stupidity... just found the -I option... > > Although it is a bit frustrating when an FFI program that used to > compile stops when you add supposedly "harmless" options such as -O > or -prof. Might be worth adding a section to the F

RE: ghc-pkg can't build GHCi libs in Windows Command Prompt

2004-05-05 Thread Simon Marlow
On 04 May 2004 19:54, Krasimir Angelov wrote: >In the current implementation of the ghc-pkg util > it is impossible to build GHCi libs if you don't have > ld in the current search path. Under Windows the > compiler usually comes with its own linker > (ghc-lib/ld.exe). Why doesn't ghc-pkg use t

RE: Dynamic loading problem

2004-05-05 Thread Simon Marlow
On 30 April 2004 18:01, Duncan Coutts wrote: > On Fri, 2004-04-30 at 17:36, Simon Marlow wrote: >> On 30 April 2004 11:26, Duncan Coutts wrote: >> >>> Could someone remind me what the remaining issues are in getting ghc >>> to build Haskell modules/packaged into unix .so shared libraries? > >> I

Re: UTF-8 encode/decode libraries.

2004-05-05 Thread Antti-Juhani Kaijanaho
On 20040426T104946-0700, David Brown wrote: > Is anyone aware of any Haskell libraries for doing UTF-8 decoding and > encoding? If not, I'll write something simple. I wrote a simple Unicode library for my MSc project a couple of years ago. It might not compile with recent GHC, but you can have a

RE: Windows & ghc6.04

2004-05-05 Thread Simon Marlow
On 05 May 2004 07:20, George Russell wrote: > What I mean is a Windows version of Simon M's: > > > http://www.haskell.org//pipermail/libraries/attachments/20040317/609414e 2/Process-0001.obj > > or alternatively > > http://tinyurl.com/2yx2g > > I'm glad that (1) (world not stopping on I

RE: Integrating ghc's rts into other single-threaded frameworks

2004-05-05 Thread Simon Peyton-Jones
| I'm thinking about how to make threaded Haskell program work nicely with | Gtk+ (the widget toolkit) and whether the new threaded rts will help or | not. | ... | | Would bound threads help? I'm not sure I understand the idea very well. That's *exactly* what the bound-threads idea is for. It's