Re: More on FreeBSD/amd64

2007-04-02 Thread Ian Lynagh
Hi Gregory, On Mon, Apr 02, 2007 at 11:57:49AM -0400, Gregory Wright wrote: > > On Apr 1, 2007, at 6:22 PM, Ian Lynagh wrote: > > >Does the 6.6 one work with 6.4.2?: > > > >puts :: String -> IO () > >puts s = do write_rawBuffer 1 (unsafeCoerce# (packCString# s)) > >0

ghc development version (6.7) from MacPorts

2007-04-02 Thread Gregory Wright
Hi, For those who live on the bleeding edge, I have made a port of the latest development version of ghc for OS X through MacPorts. (If you are not familiar with MacPorts, see http://macports.org.) The build is from the darcs repository, and installs its binaries as -6.7. . This naming all

Re[2]: More on FreeBSD/amd64

2007-04-02 Thread Bulat Ziganshin
Hello Gregory, Monday, April 2, 2007, 7:57:49 PM, you wrote: >> puts :: String -> IO () >> puts s = do write_rawBuffer 1 (unsafeCoerce# (packCString# s)) >> 0 (fromIntegral (length s)) >> return () >> >> (packCString# come from GHC.Pack) you may try to cal

Re: More on FreeBSD/amd64

2007-04-02 Thread Gregory Wright
Hi Ian, On Apr 1, 2007, at 6:22 PM, Ian Lynagh wrote: On Sun, Apr 01, 2007 at 06:10:25PM -0400, Gregory Wright wrote: Ah, remove the #if/#endif around the definition of "puts", its export, and the GHC.Pack import in libraries/base/GHC/Handle.hs No such luck. I even copied "puts" into l

RE: [Haskell-cafe] ghc-6.7.20070330 on Mac OS X

2007-04-02 Thread Simon Peyton-Jones
There is also a special page all about building GHC on MaxOSX http://hackage.haskell.org/trac/ghc/wiki/Building/MacOSX If it doesn't explain enough about readline (e.g. does it include "the nice post from the blogosphere"?), perhaps someone can enhance it? In general, when building GHC,