Re: Porting GHC to powerpc-unknown-linux

2003-09-04 Thread Donald Bruce Stewart
simonmar: > dons: > > No. They are perfect. I've stress tested them today :p > > > > +-+++ > > | HOST| TARGET| Unregisterised bootstrap | > > +-++

Re: bracket, (un)block and MonadIO

2003-09-04 Thread John Meacham
On Thu, Sep 04, 2003 at 10:45:17AM +0100, Simon Marlow wrote: > > However, the definition of bracket relies on block and > > unblock, which have the > > following types: > > > bracket :: IO a -> (a -> IO b) -> (a -> IO c) -> IO c > > > block :: IO a -> IO a > > > unblock :: IO a -> IO a > > > > T

Re: Porting GHC to powerpc-unknown-linux

2003-09-04 Thread Lunar
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thursday 04 September 2003 01:45, Donald Bruce Stewart wrote: > I did something very slightly incorrect, I think, though I don't > know what it was, because I got a working cross-port to freebsd > yesterday, on a box that had previously given me the

Re: bracket, (un)block and MonadIO

2003-09-04 Thread sebc
Hi, On Thu, Sep 04, 2003 at 10:45:17AM +0100, Simon Marlow wrote: > > > > Would anything prevent block, unblock, bracket (and other similar > > functions working on IO actions) from being generalized to all > > intances of MonadIO? > > I'm afraid I can't see a way to generalise the types of block

Chipworks Events - Technical Intelligence Webinars

2003-09-04 Thread Info
Title: Chipworks' Webinars Dedicated to positioning your technology for co

RE: Unreg/registerised hc booting success

2003-09-04 Thread Simon Marlow
> On Wed, Sep 03, 2003 at 11:43:44AM +0100, Simon Marlow wrote: > > > > In light of this, I might amend the instructions to recommend using > > hc-build even for an unregisterised bootstrap, because > copying across > > the .hi files isn't guaranteed to work when cross-compiling (I'm not > > c

RE: Porting GHC to powerpc-unknown-linux

2003-09-04 Thread Simon Marlow
> Of course, alpha didn't build anyway due to the lack of memory > allocation (I think) code for generic 64-bit platforms that I > think was > mentioned on one of the lists recently. You might try using the hack I added to MBlock.h for x86_64. It's admittedly completely bogus, but it hasn't fa

Re: Porting GHC to powerpc-unknown-linux

2003-09-04 Thread Donald Bruce Stewart
rmartine: > On Thu, 4 Sep 2003, Simon Marlow wrote: > > +-+++ > | HOST| TARGET| Unregisterised bootstrap | > +-+++ > | i386-*-openbsd | i3

RE: Porting GHC to powerpc-unknown-linux

2003-09-04 Thread Rafael Martinez Torres
On Thu, 4 Sep 2003, Rafael Martinez Torres wrote: > > Could you release a (transient) ghc-6.01-unreg-hc.tar.gz ? > Sorry, I read the doc, and I understood the unreg (.hc) tar is built on host with a particular target "config.h" . I have to build it , hence. __

Re: Unreg/registerised hc booting success

2003-09-04 Thread Ian Lynagh
On Wed, Sep 03, 2003 at 11:43:44AM +0100, Simon Marlow wrote: > > In light of this, I might amend the instructions to recommend using > hc-build even for an unregisterised bootstrap, because copying across > the .hi files isn't guaranteed to work when cross-compiling (I'm not > certain that the .

RE: Porting GHC to powerpc-unknown-linux

2003-09-04 Thread Rafael Martinez Torres
On Thu, 4 Sep 2003, Simon Marlow wrote: +-+++ | HOST| TARGET| Unregisterised bootstrap | +-+++ | i386-*-openbsd | i386-*-openbsd |

Re: Porting GHC to powerpc-unknown-linux

2003-09-04 Thread Ian Lynagh
On Thu, Sep 04, 2003 at 10:41:49AM +0100, Simon Marlow wrote: > > > | | alpha-dec-osf3 | dies on host with: | > > | || cc1: Invalid option `ieee' | > > > > So all 32-bit platforms have worked or are looking good, but > > the 64 bit

RE: bracket, (un)block and MonadIO

2003-09-04 Thread Simon Marlow
> However, the definition of bracket relies on block and > unblock, which have the > following types: > > bracket :: IO a -> (a -> IO b) -> (a -> IO c) -> IO c > > block :: IO a -> IO a > > unblock :: IO a -> IO a > > This forces f to be an IO action in the above withQuery > function. If bracke

RE: Porting GHC to powerpc-unknown-linux

2003-09-04 Thread Simon Marlow
> simonmar: > > There's a small possibility that I've missed something out from the > > instructions, I suppose :) > > No. They are perfect. I've stress tested them today :p > > +-+++ > | HOST| TARGET| Unre

Re: Porting GHC to powerpc-unknown-linux

2003-09-04 Thread Donald Bruce Stewart
simonmar: > There's a small possibility that I've missed something out from the > instructions, I suppose :) No. They are perfect. I've stress tested them today :p +-+++ | HOST| TARGET| Unregisterised bootstr

RE: Porting GHC to powerpc-unknown-linux

2003-09-04 Thread Simon Marlow
> Following Donald Stewart efforts and Simon Marlow's new > porting guide, > I made two attempts of getting GHC working on Linux/PowerPC. > > I made a first attempt using cross-compiling from a Linux/i386 box. I > followed every instruction on the guide, but the compiler was > unusable, > r