"Trip Volpe" <mraccid...@gmail.com> wrote in message news:hk5p4f$2t...@digitalmars.com... >I installed the DMD2 compiler as per the instructions here: >http://www.digitalmars.com/d/2.0/dmd-linux.html > > After tweaking the conf file to get it actually working, I tried compiling > a simple "hello, world" program. This was the result: > > /usr/bin/ld: skipping incompatible > /usr/lib/gcc/x86_64-linux-gnu/4.3.3/../../../libpthread.so when searching > for -lpthread > /usr/bin/ld: skipping incompatible > /usr/lib/gcc/x86_64-linux-gnu/4.3.3/../../../libpthread.a when searching > for -lpthread > /usr/bin/ld: skipping incompatible /usr/lib/libpthread.so when searching > for -lpthread > /usr/bin/ld: skipping incompatible /usr/lib/libpthread.a when searching > for -lpthread > /usr/bin/ld: cannot find -lpthread > collect2: ld returned 1 exit status > --- errorlevel 1 > > Okay, so I'm guessing this has something to do with the fact that the DMD > compiler is 32-bit only, right? I already had to install the 32-bit > version of libstdc++ 6 to get it to run in the first place. Does this mean > that I need a 32-bit version of the pthread dev libraries? If so, I can't > find one in Synaptic. Is there some other place I can find such a thing? > > Has anybody else managed to get DMD2 up and running on Ubuntu? It _is_ > possible, right? > > Any help would be appreciated.
I haven't gotten into D2 yet, but D1 (DMD) works fine on Ubuntu 9.04 for me.