Re: Porting to DragonFly BSD

2009-11-09 Thread Tyson Whitehead
On November 9, 2009 12:39:25 Goetz Isenmann wrote: > On Mon, Nov 09, 2009 at 10:44:47AM +, Simon Marlow wrote: > > We should get these patches into GHC. Most of them look > > straightforward, but I'm slightly suspicious of this: > > > > -STANDARD_OPTS += -DCOMPILING_RTS > > +STANDARD_OPTS += -

GHCI :reload module without erasing previous data

2009-11-09 Thread Michael Serdar
I have a module that loads several dozen megabytes of static data into memory. This module is working properly. I have another module that I'm developing to analyze that data. As I make iterations on the analysis module, I would like it if the data loaded by the data module could stay in memory. I

Re: Porting to DragonFly BSD

2009-11-09 Thread Goetz Isenmann
On Mon, Nov 09, 2009 at 10:44:47AM +, Simon Marlow wrote: > We should get these patches into GHC. Most of them look > straightforward, but I'm slightly suspicious of this: > > -STANDARD_OPTS += -DCOMPILING_RTS > +STANDARD_OPTS += -DCOMPILING_RTS -D_POSIX_VERSION=199309 > > why was that neces

Re: Three patches for cabal

2009-11-09 Thread Niklas Broberg
> I think in the end I'm with Ian on his suggestion that we should allow > the "No" prefix to invert an extension. This would help in this case and > also let us handle things better when the default extensions change. I too agree with this position for the long run. /Niklas _

Re: Three patches for cabal

2009-11-09 Thread Duncan Coutts
On Fri, 2009-11-06 at 01:13 +0100, Niklas Broberg wrote: > > Can someone please comment on these two proposed changes. I agree with > > Niklas but I'm a bit reluctant to apply the patches without at least > > some sign of agreement from someone else. > > > > Deprecating PatternSignatures seems unc

Re: Porting to DragonFly BSD

2009-11-09 Thread Simon Marlow
On 06/11/2009 23:25, Goetz Isenmann wrote: On Wed, Nov 04, 2009 at 03:08:27PM +, Colin Adams wrote: When GHC 6.12.1 is released, I'm going to have a go at porting it to DragonFly BSD (32-bit incarnation). Is the porting page on the wikiup-to-date? Maybe you could start with something like:

Re: Compiling to ANSI C

2009-11-09 Thread Simon Marlow
On 07/11/2009 18:48, Daniel Peebles wrote: You can use -fvia-C and -keep-hc-files but the generated C code is pretty platform-dependent (at least in terms of word sizes and so on... it may be possible to port across platforms with the same word sizes?), and probably won't help you cross-compile.