[Haskell-cafe] Re: [Haskell] ANNOUNCE: jhc 0.7.4

John Meacham john at repetae.net
Sun Jul 11 00:10:26 EDT 2010

On Sat, Jul 10, 2010 at 10:55:14PM -0500, Antoine Latter wrote:
> Here's the 'sed' error:
> >>>>>
> sed -e 's/^{-# OPTIONS[A-Z_]*/{-# OPTIONS_GHC -w /' -i src/FrontEnd/HsParser.hs
> sed: -i may not be used with stdin
> <<<<<

I just removed the sed command, it was just to suppress a bunch of
warnings. I am not sure what OSX's sed had an issue with actually. 

> I don't know what's wrong with find on my Mac - I'm running 10.6, and
> 'which find' tells me I'm running from /usr/bin/find, which I haven't
> messed with. It isn't build critical, though.

I switch the -wholename to -path which my 10.5.8 OSX seems to think is
okay and it works on linux. It isn't in the POSIX standard but appears
widely supported.

I was able to run and compile jhc on my 10.5.8 box, and run the
regression test. but when the garbage collector is enabled (enabled with
-fjgc) it doesn't work because posix_memalign does not exist. Can you
check whether -fjgc works on 10.6? I wish I had some way to regression
test OSX builds as part of my standard pre-release tests. Hmm...

Windows cross compiling seems a little broken too, but the fix looks
easy. I can add windows compilation to the regression test thankfully
due to wine so I can fix it for the next release.


John Meacham - ⑆repetae.net⑆john⑈ - http://notanumber.net/

More information about the Haskell-Cafe mailing list