[Haskell-iPhone] Hey Stephen - more on cross compiling

Simon Marlow marlowsd at gmail.com
Wed Nov 21 10:59:48 CET 2012


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





More information about the iPhone mailing list