[Haskell-cafe] building ghc on arch linux ARM?

Francesco Mazzoli f at mazzo.li
Mon Apr 9 01:03:10 CEST 2012

No, it is not possible to build GHC without GHC. Building GHC on ARM is 
going to be extremely tricky (I'm not sure anyone has ever done it).

What you should be able to do easily with the next release is 
cross-compile to ARM through the LLVM backend.


On 08/04/12 23:28, . wrote:
> Hi Cafe,
> I hope this is the right place to ask this kind of stuff.
> I would like to try ghc on a panda board (armv7l) with arch linux.
> There is apparently no pre-built package, so I was trying the
> instructions to build, from here:
> <http://hackage.haskell.org/trac/ghc/wiki/Building/Porting>.
> However, I still seem to need a ghc and ghc-pkg installed: I am getting
> this error message:
> ....
> checking for tar... /bin/tar
> checking for gpatch... no
> checking for patch... /usr/bin/patch
> checking for dtrace... no
> checking for HsColour... no
> checking for xmllint... no
> configure: WARNING: cannot find xmllint in your PATH, you will not be
> able to validate your documentation
> checking for xsltproc... no
> configure: WARNING: cannot find xsltproc in your PATH, you will not be
> able to build the HTML documentation
> checking for dblatex... no
> configure: WARNING: cannot find dblatex in your PATH, you will not be
> able to build the PDF and PS documentation
> checking for ghc-pkg matching ... configure: error: Cannot find matching
> ghc-pkg
> ---------
> Does anyone know if it is possible to build ghc without ghc on this
> platform?
> I was using the tarball sources for ghc 7.4.1.
> Thanks,
> Christian
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe

More information about the Haskell-Cafe mailing list