[Haskell-cafe] Cross-compilation x64 -> x86 easier under Ubuntu 11.10 with multiarch?
lazarev.michael at gmail.com
Thu Oct 13 19:49:36 CEST 2011
2011/10/13 Antoine Latter <aslatter at gmail.com>
> 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.
I used x64 edition of Ubuntu 11.10 for a while, and was able to run both
64-bit and 32-bit GHCs.
Both GHCs were manually set-up (i.e. download; tar xvjf ...; ./configure
--prefix=...; make install)
All is needed is to install both versions of libgmp by "apt-get install
32-bit version runs ghci fine, but I actually cannot compile stuff with it.
Haven't looked deeply into that issue, though.
The error is like the following:
/usr/bin/gcc -I.. -c /tmp/ghc6285_0/ghc6285_0.s -o ../Test.o
/tmp/ghc6285_0/ghc6285_0.s: Assembler messages:
Error: invalid instruction suffix for `push'
Maybe the issue can be resolved by figuring out how to target gcc for 32-bit
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe