On Thu, Oct 13, 2011 at 12:07 PM, Antoine Latter
On Thu, Oct 13, 2011 at 11:43 AM, Eugene Kirpichov
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.
Ah, I was assuming here that multi-arch support only covered libraries, not applications and tools. It looks like some applications will be flagged as multiarch, so maybe you'll be able to install two GHCs side-by-side with apt. Interesting!
Antoine