Hello Luke, Thanks for the note. I'm testing on OS X 10.8.4, Xcode 4.6.3, and llvm-gcc 4.2.1 (I placed the scripts directory ghc-ios-scripts-master at the front of PATH). LVM Build is 2336.11.00.
I fetched GHC sources and tried to build using: $ git clone git://git.haskell.org/ghc.git $ cd ghc $ ./sync-all --no-dph get $ perl boot # after creating mk/build.mk $ ./configure --target=i386-apple-darwin11 --prefix=/usr/local/ghc-ios-sim/ $ make # Fails saying terminfo -any is not available On Sun, Sep 1, 2013 at 7:39 PM, Luke Iannini <lukex...@gmail.com> wrote: > Hi Dominick, > Hm, this should have been fixed by > http://ghc.haskell.org/trac/ghc/ticket/7700 . > > When you say you downloaded GHC, do you mean you cloned GHC HEAD (e.g. git > clone git://git.haskell.org/ghc.git ?) — the patches have only just > landed : ). > > Also can you give us an idea of what your build environment is? (OS > version, Xcode version etc) > > Cheers > Luke > > > On Sun, Sep 1, 2013 at 4:32 PM, Dominick Samperi <djsamp...@gmail.com>wrote: > >> Hi, >> >> I followed the instructions on the link, downloaded ghc, created build.mk, >> etc., >> and configured for ghc-ios-sim. But the make fails with the message below. >> Tried installing terminfo (cabal install terminfo) but this didn't help... >> >> ghc $ make >> ===--- building phase 0 >> make -r --no-print-directory -f ghc.mk phase=0 phase_0_builds >> make[1]: Nothing to be done for `phase_0_builds'. >> ===--- building phase 1 >> make -r --no-print-directory -f ghc.mk phase=1 phase_1_builds >> "inplace/bin/ghc-cabal" check utils/ghc-pkg >> A 'license-file' is not specified. >> "inplace/bin/ghc-cabal" configure utils/ghc-pkg dist-install "" >> --with-ghc="/Users/dsamperi/ >> bin/ghc/ghc/inplace/bin/ghc-stage1" >> --with-ghc-pkg="/Users/dsamperi/bin/ghc/ghc/inplace/bin/ghc-pkg" >> --disable-library-for-ghci --disable-library-vanilla >> --disable-library-profiling --disable-shared --configure-option=CFLAGS=" >> -U__i686 -fno-stack-protector " --configure-option=LDFLAGS=" " >> --configure-option=CPPFLAGS=" " >> --configure-option=--host=i386-apple-darwin11 >> --with-gcc="/Users/dsamperi/bin/ghc/ghc-ios-scripts-master/i386-apple-darwin11-gcc" >> --with-ld="/Users/dsamperi/bin/ghc/ghc-ios-scripts-master/i386-apple-darwin11-ld" >> --configure-option=--with-cc="/Users/dsamperi/bin/ghc/ghc-ios-scripts-master/i386-apple-darwin11-gcc" >> --with-ar="/opt/local/bin/ar" --with-ranlib="ranlib" >> --with-alex="/usr/bin/alex" --with-happy="/usr/bin/happy" >> Configuring ghc-pkg-6.9... >> ghc-cabal: At least the following dependencies are missing: >> terminfo -any >> make[1]: *** [utils/ghc-pkg/dist-install/package-data.mk] Error 1 >> make: *** [all] Error 2 >> >> >> On Fri, Aug 30, 2013 at 5:04 AM, Simon Peyton-Jones < >> simo...@microsoft.com> wrote: >> >>> Great. Please thank Stephen too.. I don’t have his email.**** >>> >>> ** ** >>> >>> Just go ahead and modify **** >>> >>> http://ghc.haskell.org/trac/ghc/wiki/CodeOwners**** >>> >>> http://ghc.haskell.org/trac/ghc/wiki/Platforms**** >>> >>> ** ** >>> >>> I assume iOS will become a tier-2 platform?**** >>> >>> ** ** >>> >>> Simon**** >>> >>> ** ** >>> >>> *From:* Luke Iannini [mailto:lukex...@gmail.com] >>> *Sent:* 30 August 2013 09:07 >>> *To:* Simon Peyton-Jones >>> *Cc:* Austin Seipp >>> *Subject:* Re: [Haskell-cafe] Announcing GHC iOS**** >>> >>> ** ** >>> >>> Certainly! And I'd be happy to take on maintainership of GHC iOS if >>> that's what you mean — I've committed to a very large project using it so >>> I'll be maintaining it anyway : ). I'd guess Stephen would feel the same. >>> **** >>> >>> ** ** >>> >>> And thanks so much for the kind words, it means the world! Thank you >>> infinitely for Haskell : ).**** >>> >>> ** ** >>> >>> Cheers**** >>> >>> Luke**** >>> >>> ** ** >>> >>> On Fri, Aug 30, 2013 at 12:32 AM, Simon Peyton-Jones < >>> simo...@microsoft.com> wrote:**** >>> >>> Should we update the “Platform maintainers” on >>> http://ghc.haskell.org/trac/ghc/wiki/TeamGHC**** >>> >>> or the list of supported platforms on >>> http://ghc.haskell.org/trac/ghc/wiki/Platforms?**** >>> >>> **** >>> >>> *From:* Haskell-Cafe [mailto:haskell-cafe-boun...@haskell.org] *On >>> Behalf Of *Luke Iannini >>> *Sent:* 29 August 2013 21:56 >>> *To:* Haskell Cafe >>> *Subject:* Re: [Haskell-cafe] Announcing GHC iOS**** >>> >>> **** >>> >>> Stephen provided some more credits — thanks so much to all!**** >>> >>> **** >>> >>> Three connected projects concerning cross-compilation:**** >>> >>> **** >>> >>> *Registerised ARM support, added using David Terei's LLVM compiler back >>> end with Stephen Blackheath doing an initial ARMv5 version and LLVM patch >>> and Karel Gardas working on floating point support, ARMv7 compatibility and >>> LLVM headaches. Ben Gamari did work on the runtime linker for ARM.**** >>> >>> **** >>> >>> *General cross-compiling, with much work by Stephen Blackheath and Gabor >>> Greif (though many others have worked on this).**** >>> >>> **** >>> >>> *A cross-compiler for Apple iOS. iOS-specific parts were mostly Stephen >>> Blackheath with Luke Iannini on the Cabal patch, testing and supporting >>> infrastructure, also with assistance and testing by Miëtek Bak and Jonathan >>> Fischoff, and thanks to many others for testing; The iOS cross compiler was >>> started back in 2009 by Stephen Blackheath with funding from Ryan Trinkle >>> of iPwn Studios.**** >>> >>> **** >>> >>> Thanks to Ian Lynagh for making it easy for us with integration, >>> makefile refactoring and patience, and to David Terei for LLVM assistance. >>> **** >>> >>> **** >>> >>> **** >>> >>> On Thu, Aug 29, 2013 at 1:43 PM, Luke Iannini <lukex...@gmail.com> >>> wrote:**** >>> >>> Hi all!**** >>> >>> (in case you don't read /r/haskell : ))**** >>> >>> **** >>> >>> Stephen Blackheath and I are extremely happy to report that as of today, >>> GHC can natively build binaries for iOS devices and the iOS Simulator.** >>> ** >>> >>> **** >>> >>> You'll find everything you need here: >>> http://ghc.haskell.org/trac/ghc/wiki/Building/CrossCompiling/iOS**** >>> >>> **** >>> >>> The short of it is you can use "ghc-ios myFiles.hs" to get a universal >>> ARMv7/ARMv7s/i386 static library to drop straight into an Xcode project. >>> **** >>> >>> **** >>> >>> Stephen's already working on some wonderful FRP-powered games, I'm >>> working on a project called SpaceTime that I'll announce shortly, and you >>> may now all begin creating insanely great iOS software using the finest >>> language in the world : ).**** >>> >>> **** >>> >>> Stephen deserves the lion's share of the credit for this project — it's >>> been over 3 years in the making! Many thanks to Maxwell Swadling for >>> generalizing static library builds into a -staticlib flag for GHC, Carter >>> Schonwald for compilation guidance, and the venerable Austin Seipp for >>> reviewing and merging our patches.**** >>> >>> **** >>> >>> ** ** >>> >>> _______________________________________________ >>> ghc-devs mailing list >>> ghc-devs@haskell.org >>> http://www.haskell.org/mailman/listinfo/ghc-devs >>> >>> >> >> _______________________________________________ >> ghc-devs mailing list >> ghc-devs@haskell.org >> http://www.haskell.org/mailman/listinfo/ghc-devs >> >> >
_______________________________________________ ghc-devs mailing list ghc-devs@haskell.org http://www.haskell.org/mailman/listinfo/ghc-devs