[Haskell-cafe] Cross-compilation x64 -> x86 easier under Ubuntu 11.10 with multiarch?

Antoine Latter aslatter at gmail.com
Thu Oct 13 19:07:57 CEST 2011


On Thu, Oct 13, 2011 at 11:43 AM, Eugene Kirpichov <ekirpichov at gmail.com> wrote:
> Hi cafe,
>
> Ubuntu 11.10 has been released, which includes support for "multiarch"
> https://wiki.ubuntu.com/MultiarchSpec
>
> Am I right that this will facilitate compiling Haskell code into x86
> binaries on an x64 machine?
>

This would make it easier, but GHC is not a cross-compiling compiler,
so you'd still need to install a separate GHC executable for 32-bit
compiling.

This makes it so that apt can handle installing the 32-bit libraries
to link against in a sane way, which I'm sure helps.

Antoine



More information about the Haskell-Cafe mailing list