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
supports in the development version 4.11 and which
constitutes the result of the work of the FFI Task Force
over the last couple of months.  The interface specification
of the library is online available at

  http://www.cse.unsw.edu.au/~chak/haskell/c2hs/docu/c2hs-4.html

For more information on C->Haskell and for downloading, see

  http://www.cse.unsw.edu.au/~chak/haskell/c2hs/

The main feature in this release is the new FFI library.  It
should allow users of the GHC stable series to use the new
FFI library interface, which we hope to keep stable from now
on.  An update of the C->Haskell tool proper is being worked
at.

Happy Hacking,
Manuel

___
Glasgow-haskell-users mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users



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.

Also, the compilation fails (on ghc-4.11):
/usr/local/bin/ghc -c -syslib lang -syslib posix -O -recomp 
-fno-warn-incomplete-patterns  -i. -fglasgow-exts   C2HSMarsh.hs

C2HSMarsh.hs:43:
Bad interface file: ./Ptr.hi
does not exist

and similarly for other files. This is because there exists Ptr.hs
in this directory - but it should not be taken from there, because
the right version is in ghc's own libraries.

I don't know how to solve such problem in general, except by splitting
modules into many directories playing with -i options (that's why
QForeign had to use different module names for modules it brings
which may or may not come with the compiler, except some modules not
present in nhc98 which are handled by -i options).

-- 
 __("<  Marcin Kowalczyk * [EMAIL PROTECTED] http://qrczak.ids.net.pl/
 \__/
  ^^  SYGNATURA ZASTÊPCZA
QRCZAK


___
Glasgow-haskell-users mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users



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


___
Glasgow-haskell-users mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users



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 imports class Storable from module
> C2HSConfig, which does not export it.
> 
> Also, the compilation fails (on ghc-4.11):
> /usr/local/bin/ghc -c -syslib lang -syslib posix -O -recomp 
>-fno-warn-incomplete-patterns  -i. -fglasgow-exts   C2HSMarsh.hs
> 
> C2HSMarsh.hs:43:
> Bad interface file: ./Ptr.hi
> does not exist
> 
> and similarly for other files. This is because there exists Ptr.hs
> in this directory - but it should not be taken from there, because
> the right version is in ghc's own libraries.

This is very strange, because I have tested this and it
worked for me.  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 into a subdirectory
before compilation (called ghc411hackdir).  

Is it possible that you used the same build tree to compile
with 4.08 first and then re-compile with 4.11?  This won't
work, because of the hack mentioned above.  

In fact, I think, this is a bug in ghc 4.11 - I have filled
it as bug #131631 in the bug tracker.

Cheers,
Manuel

___
Glasgow-haskell-users mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users



* TIPS 4 U *

2001-02-11 Thread * TIPS 4 U *

This is the first time we have advertised this service anywhere as most of our 
clients/participants have been referred to us by word of mouth or are friends of the 
family 
who have benefited from our information. 

We feel it only fair, bearing in mind the enormous profit generating potential here, 
that we 
share this information with others and enable everyone to enjoy a better standard of 
living. 
This is why we have kept the fees for providing such information as low as £10. 

Our horses generate a steady profit week in week out and month in and month out. We 
have never shown a month of loss. Many tipsters nowadays have runs of good luck in 
accordance with seasonal changes. Some do well in winter others in summer, some on the 
flat and others on the jumps. We have maintained a consistent profit stream, which 
ensures 
that we do not have to charge exorbitant prices in order to offset any losses. We are 
sure 
that you will find us one of the most competitive tipping services anywhere. 

The service is launched for members only now. For more information e-mail us at 
[EMAIL PROTECTED]

*
To be removed please state remove in the header and your details will be deleted 
immediately.
**

___
Glasgow-haskell-users mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users