problem compiling GUM

2002-02-26 Thread Hal Daume III
Hi all, I'm not sure if this is the appropriate place to ask about this, but there's no GPH mailing list. I recently downloaded the source for GUM-4.06-291100 and am having difficulty getting it to compile. The complaint it gives is: utils/Argv.lhs: can't locate import `Addr' <> gmake[2]: ***

SGI-Port // Mnagler-Gcc Interface...

2002-02-26 Thread Rafael Martínez Torres
Hello: I'm trying to run GHC in a mips-SGI-irix platform, more accurately Irix 6. The last binary version avalaible (ftp://ftp.dcs.glasgow.ac.uk/pub/haskell/glasgow/) is for ghc-2.10 (ghc-2.10-mips-sgi-irix6.tar.gz) . In order to reach the actual ghc-5-XX step by step, I will start by porting

Re: Straightforward conversion from Int <-> Word

2002-02-26 Thread Jan-Willem Maessen
Simon Marlow notes: > But fromIntegral *does* do the right thing, doesn't it? > > > Numeric.showHex (fromIntegral (-1 :: Int32) :: Word32) "" > "0x" Interesting. The fact that this fooled Julian as well as me suggests the behavior needs to be better documented. Interestingly, hugs

RE: multiple processes and threads

2002-02-26 Thread Simon Marlow
> I have an application that uses multiple processes and > multiple threads > together. What's the best way to detect child process terminations? > > The initial thread in the inital process serves as driver of the > application. It creates child processes and threads to carry out > portions o

RE: Building ghc-5.00.2 from .hc files

2002-02-26 Thread Simon Marlow
> I have tried do build ghc-5.00.2 from .hc files. I run > ditrib/hc-build, > but it fails: > > -- > -- > ===fptools== Finished making `all' in cbits ... > PWD = /tmp/ghc-5.00.2/hslibs/lang > ---

RE: Doubts in GHC

2002-02-26 Thread Simon Marlow
> I´m new in this list and I think that it´s a very good > idea, because we > can show our doubts. > I have a doubt in GHC: How can we include a folder in the compiling > process? Example: If one file called main.hs requires some > others modules > that are in one folder, how can compil

RE: Straightforward conversion from Int <-> Word

2002-02-26 Thread Simon Marlow
If intToNat is a blunt instrument, then fromIntegral is the rapier :-) Remember Word is GHC-specific; the FFI doesn't define it. Simon > -Original Message- > From: Julian Seward (Intl Vendor) [mailto:[EMAIL PROTECTED]] > Sent: 25 February 2002 16:57 > To: [EMAIL PROTECTED]; [EMAIL PRO

RE: Straightforward conversion from Int <-> Word

2002-02-26 Thread Simon Marlow
> -Original Message- > From: Jan-Willem Maessen [mailto:[EMAIL PROTECTED]] > Sent: 25 February 2002 16:46 > To: [EMAIL PROTECTED] > Subject: Straightforward conversion from Int <-> Word > > > I've cast about a bit and haven't been able to find the appropriate > functionality, so I'm a