RE: threadWaitRead/threadWaitWrite

1999-05-07 Thread Sigbjorn Finne (Intl Vendor)


George Russell <[EMAIL PROTECTED]> writes: 
> 
> I have some code which uses threadWaitRead and 
> threadWaitWrite which I'd like to make more portable.
> Is it possible to approximate them in a way
> which works for Hugs98 and Haskell 4.02?  If not, as they 
> look fairly useful, could they be added to the standard
> Concurrent module?
> 

Support for these two are coming soon for ghc-4.xx. When there's
a Hugs release out that also uses the new RTS, then it could
quite easily have them too - supporting these prims on top of
Hugs' current implementation of Conc. Haskell doesn't appear
feasible.

--sigbjorn



RE: gcc ist confused by being installed on //D/

1999-05-07 Thread Axel Simon


> I recently tried to install GHC 4.02 with Cygwin on NT. Since my C:
> harddisk was nearly full I tried to install it on D which is
> called //D/ in bash. Everything runs ok, even Perl was pretty
> motivated. But every run of the compiler failed since gcc couldn't
> be found. I checked the directories in the Perl script but everything   
> seemed to be ok. It's due to the //D/ in front of every path: I
> reformatted my C harddrive to include my Linux partition, now GHC
> works without complaints. Was it wrong to
> reformat my harddrive?
>
> Wonders
> Axel.

On Thu, 6 May 1999, Sigbjorn Finne (Intl Vendor) wrote:

> 
> Did you install cygwin in a directory other than what the
> cygwin installer suggested as default? If you did, then the
> environment variable GCC_EXEC_PREFIX needs to be set
> accordingly. Other than that, the ghc driver just assumes that
> 'gcc' can be found somewhere along your path.
> 
> --sigbjorn
> 

I am not sure if I have checked the path of gcc. But I didn't use the
default directory for CYGWIN when installing on drive C: and it works
nevertheless. But never mind since it works by now.

Thanks,
Axel.



RE: GHC does not like modules starting with Z?

1999-05-07 Thread Frank A. Christoph

> I am a long-time Hugs user, but am relatively new to ghc.
> I've been trying to get a Makefile working, with little success.
> After much investigation, the problem seems to be not with my Makefile,
> but that ghc does not like modules whose names start with 'Z'.
>
> Seems that a module called Zabc (in file Zabc.lhs) generates a
> Zabc.hi file whose first line is:
>
> __interface ZZabc 1 402 where
> ^^ Note the repeated Z.
>This repetition does not seem to happen for other
> module names!
>
> Is this a bug?

I saw this reported by someone else a month or two ago; it was fixed soon
after. Get a newer version, or use the obvious workaround.

--FC