any successfull ghc registerised builds on arm?
nathan.huesken at posteo.de
Thu Jan 24 17:58:54 CET 2013
On 01/24/2013 04:50 PM, Stephen Paul Weber wrote:
> Somebody claiming to be Nathan Hüsken wrote:
>> On 01/24/2013 04:28 PM, Stephen Paul Weber wrote:
>>>>> Do you think it is specifically the 3.2 that made it work?
>>>> Yes. With llvm version 3.1 I was only able to get an unregisterised
>>>> build to work.
>> Not exactly, see the patch here:
>> and the changes to compiler/llvmGen/LlvmCodeGen/Ppr.hs
> Oh, man, the fact that I don't have that setting for QNX is probably not
> doing me any favours...
> How the heck am I supposed to figure out what that string should be? :(
Do you mean the data layout? Actually, I have to admit I just copied it
from arm linux.
> That said... how did you get an unregisterised build to work with an
> LLVM backend? Everything I've seen in the code implied that the moment
> you are unregisteried, it uses via-C... Which is what my above patch is
> primarily about.
I ... it just worked :). I passed --enable-unregistered to configure and
that did the trick. During building it always said "via-C", but it worked.
More information about the Glasgow-haskell-users