On Tue, 08 Mar 2011 22:23:19 +0100, Trass3r wrote: >>> Yes, but you can compile an x64 dmd yourself on Linux. >> >> Is there any "how to"? > > IIRC you have to edit linux.mak to use -m64 instead of -m32.
Ok, I wrote a simple bash script: ===BEGIN=== #!/bin/bash echo "building dmd..." cd ./dmd make -f linux.mak MODEL=-m64 cd .. if [ ! -f ./dmd/dmd ] then echo "failed." exit 1 fi echo "building druntime..." cd ./druntime make -f posix.mak MODEL=64 DMD=../dmd/dmd cd .. echo "building phobos..." cd ./phobos make -f posix.mak MODEL=64 DMD=../dmd/dmd cd .. ===END=== You have to put it in dmd2/src. I got a clean build on Ubuntu 10.04 x86_64 with GCC 4.4.3 and GNU Make 3.81.
