
| Is this with a statically linked or dynamically linked GHC? I don't know. How would I find out? (It's the one built by validate.) You are asking about GHC, but I guess there's also the question of whether the test program itself is statically or dynamically linked. I don't know that either. I just said ~/5builds/HEAD-2/inplace/bin/ghc-stage2 -o T8628 T8628.hs -package ghc Why would static/dynamic linking make a difference? That's very confusing! | Does doing | runStmt "hFlush stdout" | afterwards make it appear? Yes, it does. Again, that's very confusing. Shouldn't we automatically do a hFlush, so that output is not silently discarded? Simon | -----Original Message----- | From: ghc-devs [mailto:ghc-devs-bounces@haskell.org] On Behalf Of Ian | Lynagh | Sent: 02 January 2014 18:29 | To: ghc-devs@haskell.org | Subject: Re: GHC Api | | On Thu, Jan 02, 2014 at 03:10:24PM +0000, Simon Marlow wrote: | > On 02/01/14 07:06, Simon Peyton-Jones wrote: | > > | > >Happy new year! | | And to you :-) | | > > runStmt “print True” -- (4) | > | > >4.The runStmt should print something somewhere, but it doesn’t. Why | not? | > | > I've no idea! It does look like it should print something. | | Is this with a statically linked or dynamically linked GHC? | | Does doing | runStmt "hFlush stdout" | afterwards make it appear? | | | Thanks | Ian | | _______________________________________________ | ghc-devs mailing list | ghc-devs@haskell.org | http://www.haskell.org/mailman/listinfo/ghc-devs