Re: [Haskell-iPhone] Hey Stephen - more on cross compiling
Somebody claiming to be Gabor Greif wrote:
https://github.com/ggreif/ghc/blob/master/rules/build-package-data.mk#L67 (this can be written simpler)
I will try this on my next attempt.
Congrats to your stage1 GHC! I suspect some time will pass till all nits are picked, but I am seeing very good progress here :-)
Another question: when I try to compile things with `-threaded`, GHC seems to add `-lpthreads`. QNX supports pthreads, but right in libc. Where should I be looking to patch that? Thanks for all your help :) -- Stephen Paul Weber, @singpolyma See http://singpolyma.net for how I prefer to be contacted edition right joseph
On 20/11/2012 23:57, Stephen Paul Weber wrote:
Somebody claiming to be Gabor Greif wrote:
https://github.com/ggreif/ghc/blob/master/rules/build-package-data.mk#L67 (this can be written simpler)
I will try this on my next attempt.
Congrats to your stage1 GHC! I suspect some time will pass till all nits are picked, but I am seeing very good progress here :-)
Another question: when I try to compile things with `-threaded`, GHC seems to add `-lpthreads`. QNX supports pthreads, but right in libc. Where should I be looking to patch that?
compiler/main/DriverPipeline.hs, line 1746. I think it should be somewhere else though, perhaps DynFlags.wayOptl. Cheers, Simon
Somebody claiming to be Simon Marlow wrote:
compiler/main/DriverPipeline.hs, line 1746.
Thanks! I hacked that, and it fixed it. I guess this means I should add an OsQnx for real and not just use OsUnknown. What are the ramifications of that? How many places would I need to make sure it's doing the right thing, or would it always hit a fallback case that's equivalent to what it does now? -- Stephen Paul Weber, @singpolyma See http://singpolyma.net for how I prefer to be contacted edition right joseph
participants (2)
-
Simon Marlow -
Stephen Paul Weber