GHC Hackathon

Jeremy Gibbons Jeremy.Gibbons at comlab.ox.ac.uk
Sun Sep 10 02:24:32 EDT 2006


Thanks very much for your help, guys. A later Xcode and a GNU  
readline did the trick. I ended up following these instructions:

   http://cvs.haskell.org/trac/ghc/ticket/766

(with global redefinitions of LDFLAGS and CPPFLAGS), but Andy's  
suggestion to re-./configure in libraries/readline with local  
redefinitions looks more robust.

Cheers, and see you all in Portland!
Jeremy


On 9 Sep 2006, at 22:46, Andy Gill wrote:
> Here is how I compile on my (PPC) OSX.
>
>
> #!/bin/bash -x
> export PATH=$PATH:/usr/local/bin
> echo $PATH
> cd /Users/andy/night
> rm -Rf ghc
> darcs get --partial http://darcs.haskell.org/ghc
> cd ghc
> chmod +x darcs-all
> ./darcs-all --extra get
> darcs get --partial http://darcs.haskell.org/testsuite
> darcs get --partial http://darcs.haskell.org/nofib
> autoreconf
> ./configure
> (cd libraries/readline ; ./configure --with-readline-includes=/opt/ 
> local/include --with-readline-libraries=/opt/local/lib )
> make
> cd testsuite
> make boot
> cd tests/ghc-regress
> make stage=2
>
>
> I have a /opt/local/ version of readline, installed with darwinports.


Jeremy.Gibbons at comlab.ox.ac.uk
   Oxford University Computing Laboratory,    TEL: +44 1865 283508
   Wolfson Building, Parks Road,              FAX: +44 1865 273839
   Oxford OX1 3QD, UK.
   URL: http://www.comlab.ox.ac.uk/oucl/people/jeremy.gibbons.html




More information about the Cvs-ghc mailing list