dmd or gdc install on Ubuntu AMD64

François-Xavier Pineau fxpineau at gmail.com
Tue Jun 12 15:58:06 PDT 2007


Someone can help?
I try to install dmd on Ubuntu with an AMD64.
When compiling my first prog, i have the error:
>/usr/bin/ld: skipping incompatible /usr/lib/libpthread.a
>when searching for -lpthread
>/usr/bin/ld: cannot find -lpthread
I have found an explanation on:
"http://www.digitalmars.com/d/archives/digitalmars/D/learn/64_bit_linux_7259.html"

Thus I have decided to install gdc.
The http://gdcgnu.sourceforge.net/ .deb
package can't help. It's only for Intel proc.
I have downloaded the archive:
"gdc-0.23-x86_64-linux-gcc-4.1.1.tar.bz2"
from sourceforge but I d'ont realy know what to do with it.
I d'ont know what arguments I should use when configuring gcc...
I have tried
>configure -prefix=/usr/local/gcc-4.1 --enable-languages=c,d,c++
But when doing:
>make install
I have an error saying:
>/bin/sh ../mkinstalldirs /usr/local/gcc-4.1 /usr/local/gcc-4.1
>cd: 5: can't cd to ./fixincludes

I'am not an expert so please, if someone succeed installing dmd or
gdc on an AMD64 Ubuntu...
Thanks.


More information about the Digitalmars-d-learn mailing list