ANN: C->Haskell 0.8.1

2001-02-11 Thread Manuel M. T. Chakravarty
I am pleased to announce the availability of version 0.8.1 of the interface generator C->Haskell. It works with the current stable release series 4.08.x of GHC as well as the current development series 4.11. For both versions of GHC, it supports the *same* FFI library that GHC natively only supp

Re: ANN: C->Haskell 0.8.1

2001-02-11 Thread Marcin 'Qrczak' Kowalczyk
Sun, 11 Feb 2001 23:20:07 +1100, Manuel M. T. Chakravarty <[EMAIL PROTECTED]> pisze: > I am pleased to announce the availability of version 0.8.1 > of the interface generator C->Haskell. Wow! A problem: c2hs/gen/CInfo.lhs imports class Storable from module C2HSConfig, which does not export it.

Re: ANN: C->Haskell 0.8.1

2001-02-11 Thread Marcin 'Qrczak' Kowalczyk
11 Feb 2001 13:36:31 GMT, Marcin 'Qrczak' Kowalczyk <[EMAIL PROTECTED]> pisze: > A problem: [...] These problems apply to cvs' HEAD. -- __("< Marcin Kowalczyk * [EMAIL PROTECTED] http://qrczak.ids.net.pl/ \__/ ^^ SYGNATURA ZASTÊPCZA QRCZAK __

Re: ANN: C->Haskell 0.8.1

2001-02-11 Thread Manuel M. T. Chakravarty
[EMAIL PROTECTED] (Marcin 'Qrczak' Kowalczyk) wrote, > Sun, 11 Feb 2001 23:20:07 +1100, Manuel M. T. Chakravarty <[EMAIL PROTECTED]> >pisze: > > > I am pleased to announce the availability of version 0.8.1 > > of the interface generator C->Haskell. > > Wow! > > A problem: c2hs/gen/CInfo.lhs i

Re: ANN: C->Haskell 0.8.1

2001-02-12 Thread Marcin 'Qrczak' Kowalczyk
Mon, 12 Feb 2001 14:07:01 +1100, Manuel M. T. Chakravarty <[EMAIL PROTECTED]> pisze: > This is very strange, because I have tested this and it > worked for me. It could be my fault: I ran ./configure before updating it with autoconf, and perhaps did not clean afterwards. > In fact, if you look

Re: ANN: C->Haskell 0.8.1

2001-02-12 Thread Manuel M. T. Chakravarty
[EMAIL PROTECTED] (Marcin 'Qrczak' Kowalczyk) wrote, > Mon, 12 Feb 2001 14:07:01 +1100, Manuel M. T. Chakravarty <[EMAIL PROTECTED]> >pisze: > > > In fact, if you look at the Makefile in the c2hs/lib/ directory, > > then you will see that the `depend' target moves these troublesome > > files in

Re: ANN: C->Haskell 0.8.1

2001-02-14 Thread Marcin 'Qrczak' Kowalczyk
12 Feb 2001 14:48:09 GMT, Marcin 'Qrczak' Kowalczyk <[EMAIL PROTECTED]> pisze: > It could be my fault: I ran ./configure before updating it with > autoconf, and perhaps did not clean afterwards. Ok, it was my fault. But the error in CInfo is still there. And C2HS does not export most of cast*Ptr

Re: ANN: C->Haskell 0.8.1

2001-02-14 Thread Manuel M. T. Chakravarty
[EMAIL PROTECTED] (Marcin 'Qrczak' Kowalczyk) wrote, > 12 Feb 2001 14:48:09 GMT, Marcin 'Qrczak' Kowalczyk <[EMAIL PROTECTED]> pisze: > > > It could be my fault: I ran ./configure before updating it with > > autoconf, and perhaps did not clean afterwards. > > Ok, it was my fault. But the error

Re: ANN: C->Haskell 0.8.1

2001-02-15 Thread Marcin 'Qrczak' Kowalczyk
Thu, 15 Feb 2001 18:44:56 +1100, Manuel M. T. Chakravarty <[EMAIL PROTECTED]> pisze: > > But the error in CInfo is still there. > > That's strange. Could you try this with either the release of > 0.8.2 that I put up yesterday or with the CVS version again? Hmm, it works now. There are two fil

Re: ANN: C->Haskell 0.8.1

2001-02-15 Thread Marcin 'Qrczak' Kowalczyk
15 Feb 2001 08:20:00 GMT, Marcin 'Qrczak' Kowalczyk <[EMAIL PROTECTED]> pisze: > Does C2HSDeprecated export newStablePtr and freeHaskellFunPtr? > Currently it does not, but GtkCList assumes it does. > > Does C2HS export castPtrToFunPtr? Currently it does not, but GMarsh > assumes it does. Now I

Re: ANN: C->Haskell 0.8.1

2001-02-15 Thread Manuel M. T. Chakravarty
[EMAIL PROTECTED] (Marcin 'Qrczak' Kowalczyk) wrote, > 15 Feb 2001 08:20:00 GMT, Marcin 'Qrczak' Kowalczyk <[EMAIL PROTECTED]> pisze: > > > Does C2HSDeprecated export newStablePtr and freeHaskellFunPtr? > > Currently it does not, but GtkCList assumes it does. > > > > Does C2HS export castPtrToF

Re: ANN: C->Haskell 0.8.1

2001-02-16 Thread Marcin 'Qrczak' Kowalczyk
Fri, 16 Feb 2001 18:42:08 +1100, Manuel M. T. Chakravarty <[EMAIL PROTECTED]> pisze: > Now, everything should be checked in. Seems OK, thanks. ghc411hack_dir does not work for me again: ghc -M in build/ghc4/chs/lib can't find NewStablePtr.hs (because there is only NewStablePtr.hs.in) and the wh

Re: ANN: C->Haskell 0.8.1

2001-02-16 Thread Marcin 'Qrczak' Kowalczyk
16 Feb 2001 09:21:51 GMT, Marcin 'Qrczak' Kowalczyk <[EMAIL PROTECTED]> pisze: > ghc411hack_dir does not work for me again: Ah, I see: haven't run autoconf in c2hs subdirectory. Now it will hopefully work. -- __("< Marcin Kowalczyk * [EMAIL PROTECTED] http://qrczak.ids.net.pl/ \__/ ^^

Re: ANN: C->Haskell 0.8.1

2001-02-16 Thread Marcin 'Qrczak' Kowalczyk
Fri, 16 Feb 2001 18:42:08 +1100, Manuel M. T. Chakravarty <[EMAIL PROTECTED]> pisze: > PS: With the current Gtk+HS source in CVS, all Gtk+HS > examples as well as the iHaskell library and its three > examples should now all work again. I tested it all on > my machine. gtk+hs under g

Re: ANN: C->Haskell 0.8.1

2001-02-16 Thread Marcin 'Qrczak' Kowalczyk
Fri, 16 Feb 2001 18:42:08 +1100, Manuel M. T. Chakravarty <[EMAIL PROTECTED]> pisze: > PS: With the current Gtk+HS source in CVS, all Gtk+HS > examples as well as the iHaskell library and its three > examples should now all work again. They compile but they don't run correctly on ghc-4.1

Re: ANN: C->Haskell 0.8.1

2001-02-17 Thread Manuel M. T. Chakravarty
[EMAIL PROTECTED] (Marcin 'Qrczak' Kowalczyk) wrote, > > ghc411hack_dir does not work for me again: > > Ah, I see: haven't run autoconf in c2hs subdirectory. Now it will > hopefully work. Automating the invocation fo autoconf is on the TODO list, but I didn't get around to it yet. Manuel

Re: ANN: C->Haskell 0.8.1

2001-02-18 Thread Manuel M. T. Chakravarty
[EMAIL PROTECTED] (Marcin 'Qrczak' Kowalczyk) wrote, > Fri, 16 Feb 2001 18:42:08 +1100, Manuel M. T. Chakravarty <[EMAIL PROTECTED]> >pisze: > > > I thought that I had fixed all this for Gtk+HS. (In fact, > > all Gtk+HS examples are running fine with GHC 4.08 on my > > machine.) Have a look a

Re: ANN: C->Haskell 0.8.1

2001-02-19 Thread Marcin 'Qrczak' Kowalczyk
Mon, 19 Feb 2001 15:53:41 +1100, Manuel M. T. Chakravarty <[EMAIL PROTECTED]> pisze: > Strange - meanwhile, I have put release 0.10.4 out. > Among other things, it finally has an `install' target. Thanks, everything compiles and mostly works. Examples still behave strangely: rngtest goes crazy w