Walter Bright wrote:
Lars T. Kyllingstad wrote:
The 32-bit DMD compiler works fine on 64-bit Ubuntu, even though the
.deb file is marked as i386. Try this:
dpkg -i --force-architecture dmd_2.041-0_i386.deb
Note that since the compiler is 32-bit, it only works with 32-bit
libraries. You must therefore install the following packages:
sudo apt-get install gcc-multilib g++-multilib libc6-i386 libc6-dev-i386
In addition, you might like to install the ia32-libs package, as it
contains 32-bit versions of a bunch of libraries.
Thanks, I added this information to the install page:
http://www.digitalmars.com/d/2.0/dmd-linux.html#installation
For completeness' sake you should probably also add a 'sudo' in front of
'dpkg'. I forgot that in my post.
-Lars