[Haskell-cafe] Cross-compilation x64 -> x86 easier under Ubuntu 11.10 with multiarch?
Antoine Latter
aslatter at gmail.com
Thu Oct 13 19:15:50 CEST 2011
On Thu, Oct 13, 2011 at 12:07 PM, Antoine Latter <aslatter at gmail.com> wrote:
> 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.
>
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
>
More information about the Haskell-Cafe
mailing list