Carter is right here, you will also need to hack LLVM to add support for GHC calling convention and you will also need to hack GHC's RTS to add a glue in between Haskell and C world on ARM64.

Cheers,
Karel

On 10/18/13 09:17 AM, Luke Iannini wrote:
Yeah, probably a data layout in compiler/llvmGen/LlvmCodeGen/Ppr.hs and
entries in compiler/utils/Platform.hs? Shouldn't be too bad I think.

On Thu, Oct 17, 2013 at 11:36 PM, Carter Schonwald
<carter.schonw...@gmail.com <mailto:carter.schonw...@gmail.com>> wrote:

    don't we need to add an ARM64 ABI to ghc/llvm? or is that a nonissue?


    On Fri, Oct 18, 2013 at 2:34 AM, Luke Iannini <lukex...@gmail.com
    <mailto:lukex...@gmail.com>> wrote:

        Hi Dominick!

        Yes, this should work swimmingly on the 5S in 32bit mode.

        We'll have to wait for Apple to merge their Arm64 patches [1]
        before we can add full 64-bit support (I can do the 64bit
        simulator right now though : )). (though I just saw this! [2])

        Cheers
        Luke

        [1]
        http://lists.cs.uiuc.edu/pipermail/llvmdev/2013-September/065480.html
        [2]
        http://lists.cs.uiuc.edu/pipermail/llvmdev/2013-September/065913.html


        On Wed, Oct 16, 2013 at 8:16 AM, Dominick Samperi
        <djsamp...@gmail.com <mailto:djsamp...@gmail.com>> wrote:

            Will this work with the new iPhone 5 S (64 bit ARM)? I
            assume that
            it will work by running in 32 bit mode (requiring both 64
            and 32 bit
            libs to be loaded), but I'm not sure...

            Thanks,
            Dominick


            On Mon, Oct 14, 2013 at 3:48 PM, Luke Iannini
            <lukex...@gmail.com <mailto:lukex...@gmail.com>> wrote:

                Hi all,

                Just wanted to let you know I've finished updating GHC
                iOS to support Xcode 5. The new scripts are at
                https://github.com/ghc-ios/ghc-ios-scripts/tree/xcode5
                and you'll find updated instructions at
                http://ghc.haskell.org/trac/ghc/wiki/Building/CrossCompiling/iOS
                .

                Please let me know if you have any trouble!
                Cheers
                Luke

                _______________________________________________
                ghc-devs mailing list
                ghc-devs@haskell.org <mailto:ghc-devs@haskell.org>
                http://www.haskell.org/mailman/listinfo/ghc-devs




        _______________________________________________
        ghc-devs mailing list
        ghc-devs@haskell.org <mailto:ghc-devs@haskell.org>
        http://www.haskell.org/mailman/listinfo/ghc-devs





_______________________________________________
Haskell-Cafe mailing list
haskell-c...@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

_______________________________________________
ghc-devs mailing list
ghc-devs@haskell.org
http://www.haskell.org/mailman/listinfo/ghc-devs

Reply via email to