Re: two minor questions on ghc

1997-08-20 Thread Simon L Peyton Jones
> (1) > To make ghc-2.04 putting .o files into the given subdirectory, > say, `o_hi', we command > ghc -c Foo.hs -odir o_hi > > What is the similar option for .hi ? > I cannot find it in the ghc user guide. It suggests only > > ghc -c Foo

Re: GHC 2.05 bug

1997-08-20 Thread David Barton
Third in a series on the same set of files. Thanks to Sigbjorn Finne's patch, the entire program now compiles. However, the produced program now dies with a segmentation fault. The text (which will probably help not one whit) occurs as follows: Segmentation fault caught, address = 38209318 IOT

Re: /tmp files - ghc2.05

1997-08-20 Thread Sigbjorn Finne
Byron Cook writes: > ghc2.05 isnt deleting the tmp files it creates during compilation. > It definitely should do. I do need more info to go on here - what files, how to reproduce etc. There are some cases where the driver leaves some droppings behind (if you hit ^C at inopportune moments), b

Re: Something cooking with forkIO

1997-08-20 Thread Simon L Peyton Jones
> Then I increased the number of threads to 1M, and got: > > ewk@hydra% bench1 > Heap exhausted; > while trying to allocate 32 bytes in a 4194312-byte heap; > use `+RTS -H' to increase the total heap size. > > I now obediently ran the program with 16MB heap: > > e

Re: some array questions

1997-08-20 Thread Simon L Peyton Jones
Josh > Some questions about arrays: > It sounds like, according to this specification, there has to be a thunk > for every element of the array. This brings up the usual trade-off: this is > elegant and flexible, but slow. > ??? - For generic GHC Array's, is a thunk created for each individ

/tmp files - ghc2.05

1997-08-20 Thread Byron Cook
ghc2.05 isnt deleting the tmp files it creates during compilation. i assume that there is some flag that i need to set the ghc Perl script byron

Re: ghc 2.05 -- typo in makefile

1997-08-20 Thread Byron Cook
i dont know. i cant reproduce it either. it must have just been me or something maybe i ran out of disk space byron On Tue, 19 Aug 1997, Sigbjorn Finne wrote: > > Byron Cook writes: > > > > I successfully built 2.05 > > > > Great, hope it turns out to be useful. > > > > > one pr