Re: IMCROSS and ghc

2008-12-10 Thread Duncan Coutts
On Wed, 2008-12-10 at 11:19 -0800, John Meacham wrote: > I was wondering if anyone has gotten ghc to work with IMCROSS[1]. I'm > Cross is a way to build native windows and mac osx apps on linux. quite > convinient for making distribution packages for those other platforms or > if you want to use li

IMCROSS and ghc

2008-12-10 Thread John Meacham
I was wondering if anyone has gotten ghc to work with IMCROSS[1]. I'm Cross is a way to build native windows and mac osx apps on linux. quite convinient for making distribution packages for those other platforms or if you want to use linux's toolset during your build. basically, IMCROSS installs a

Re: ghci and ghc -threaded broken with pipes & forking

2008-12-10 Thread John Goerzen
Brian B wrote: > Hi Bulat, > > My contribution to the survey: I've used forkProcess to daemonize > a ghc program inside the haskell fuse bindings: > http://hackage.haskell.org/cgi-bin/hackage-scripts/package/HFuse > http://code.haskell.org/hfuse/System/Fuse.hsc > > If removing the non-threaded RT

Re: Parallel forkOS does not work on ubuntu

2008-12-10 Thread Hoang Truong
Thanks Simon for your detail explanation. It does help me as I am new to Haskell. Btw, I did not use -O option. Hoang On Wed, Dec 10, 2008 at 9:24 PM, Simon Marlow <[EMAIL PROTECTED]> wrote: > Hoang Truong wrote: > >> Hi Simon, >> >> I tried with forkIO and added another dowork functions but the

Re[2]: Parallel forkOS does not work on ubuntu

2008-12-10 Thread Bulat Ziganshin
Hello Simon, Wednesday, December 10, 2008, 5:24:28 PM, you wrote: good explanation of various shortanges on the way to multi-threading. may be it worth a link from GHC Concurrency pages? > Hoang Truong wrote: >> Hi Simon, >> >> I tried with forkIO and added another dowork functions but the res

Re: Parallel forkOS does not work on ubuntu

2008-12-10 Thread Simon Marlow
Hoang Truong wrote: Hi Simon, I tried with forkIO and added another dowork functions but the result is the same: only one core is used, three other cores are idle. Do you have any other suggestions? Is there anything I should take care when installing GHC? I also did try the Wombat.hs from

Re: ghc 6.10.1 on freebsd 7 amd64 - ghci problems

2008-12-10 Thread Simon Marlow
Markus Barenhoff wrote: On Fri 28.11 09:42, Simon Marlow wrote: Markus Barenhoff wrote: On Thu 27.11 09:49, Simon Marlow wrote: Hi! I checked out and translated the head version of ghc today from darcs. It compiled fine. When I now try to start the ghci I get the following: snip

Re: Re[2]: ghci and ghc -threaded broken with pipes & forking

2008-12-10 Thread Malcolm Wallace
> > Had you deprecated the non-threaded RTS, we would probably have no > > problems described in ticket #2848 :-/ > > > I think you'll have to deprecate it anyway, because it will be more > > and more difficult to maintain two versions of code, > > we may conduct small survey on amount of usage o

Re: ghci linker and circular dependencies: bug or feature?

2008-12-10 Thread Simon Marlow
Andrea Rossato wrote: Hello, this is a followup of this: http://article.gmane.org/gmane.comp.lang.haskell.cafe/48644 which didn't have replays. In order to make the review a bit easier I prepared a minimal test case which, I believe, could prove there's a bug in the ghci linker. I'm not su

Re: Can't compile GHC 6.8.2

2008-12-10 Thread Simon Marlow
Barney Stratford wrote: I have a workaround for the linker bugs that keep popping up under Mac OS X, and now have a working GHC 6.8. I found that saying -fasm didn't help matters. Instead, on the assumption that the linker gets it wrong and there is in fact nothing wrong with the object file, I