|
Archives
D Programming
digitalmars.Ddigitalmars.D.bugs digitalmars.D.dtl digitalmars.D.ide digitalmars.D.dwt digitalmars.D.announce digitalmars.D.learn digitalmars.D.debugger D.gnu D C/C++ Programming
c++c++.announce c++.atl c++.beta c++.chat c++.command-line c++.dos c++.dos.16-bits c++.dos.32-bits c++.idde c++.mfc c++.rtl c++.stl c++.stl.hp c++.stl.port c++.stl.sgi c++.stlsoft c++.windows c++.windows.16-bits c++.windows.32-bits c++.wxwindows digitalmars.empire digitalmars.DMDScript electronics |
digitalmars.D - Using DMD2 on Ubuntu 9.04 x64?
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. Jan 31 2010
"Trip Volpe" <mraccident gmail.com> wrote in message news:hk5p4f$2t2$1 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. Jan 31 2010
Nick Sabalausky Wrote:I haven't gotten into D2 yet, but D1 (DMD) works fine on Ubuntu 9.04 for me. Jan 31 2010
Trip Volpe wrote:Nick Sabalausky Wrote:I haven't gotten into D2 yet, but D1 (DMD) works fine on Ubuntu 9.04 for me. Feb 01 2010
Trip Volpe wrote:Has anybody else managed to get DMD2 up and running on Ubuntu? It _is_ possible, right? Jan 31 2010
Walter Bright wrote:Trip Volpe wrote:Has anybody else managed to get DMD2 up and running on Ubuntu? It _is_ possible, right? Jan 31 2010
Walter Bright wrote:Trip Volpe wrote:Has anybody else managed to get DMD2 up and running on Ubuntu? It _is_ possible, right? Feb 01 2010
Walter Bright Wrote:Trip Volpe wrote:Has anybody else managed to get DMD2 up and running on Ubuntu? It _is_ possible, right? Feb 01 2010
Steve Teale wrote:Are we still just talking just AMD 64 here? Last time I tried to install the .deb package, the system told m that my Intel core2 64 bit machine was the wrong architecture. Feb 01 2010
Walter Bright Wrote:Steve Teale wrote:Are we still just talking just AMD 64 here? Last time I tried to install the .deb package, the system told m that my Intel core2 64 bit machine was the wrong architecture. Feb 02 2010
Steve Teale wrote:Walter Bright Wrote:Steve Teale wrote:Are we still just talking just AMD 64 here? Last time I tried to install the .deb package, the system told m that my Intel core2 64 bit machine was the wrong architecture. Feb 02 2010
Andrei Alexandrescu wrote:Steve Teale wrote:Walter Bright Wrote:Steve Teale wrote:Are we still just talking just AMD 64 here? Last time I tried to install the .deb package, the system told m that my Intel core2 64 bit machine was the wrong architecture. Feb 02 2010
grauzone wrote:Andrei Alexandrescu wrote:Steve Teale wrote:Walter Bright Wrote:Steve Teale wrote:Are we still just talking just AMD 64 here? Last time I tried to install the .deb package, the system told m that my Intel core2 64 bit machine was the wrong architecture. Feb 02 2010
Steve Teale wrote:Walter Bright Wrote:Trip Volpe wrote:Has anybody else managed to get DMD2 up and running on Ubuntu? It _is_ possible, right? Feb 02 2010
retard Wrote:Intel 64 is AMD64. Intel dropped their 64-bit implementation, EM64T, after AMD won. Feb 02 2010
Jesse Phillips wrote:retard Wrote:Intel 64 is AMD64. Intel dropped their 64-bit implementation, EM64T, after AMD won. Feb 03 2010
Don wrote:Jesse Phillips wrote:retard Wrote:Intel 64 is AMD64. Intel dropped their 64-bit implementation, EM64T, after AMD won. Feb 03 2010
== Quote from Walter Bright (newshound1 digitalmars.com)'s articleTrip Volpe wrote:Has anybody else managed to get DMD2 up and running on Ubuntu? It _is_ possible, right? Feb 01 2010
dsimcha wrote:== Quote from Walter Bright (newshound1 digitalmars.com)'s articleTrip Volpe wrote:Has anybody else managed to get DMD2 up and running on Ubuntu? It _is_ possible, right? Feb 01 2010
Walter Bright Wrote:Here's what I use on Ubuntu 64: sudo apt-get install gcc-multilib libc6-i386 lib6-dev-i386 sudo apt-get install gcc-multilib sudo apt-get install g++-multilib Feb 01 2010
On Mon, 01 Feb 2010 22:44:31 +0200, Walter Bright <newshound1 digitalmars.com> wrote:Steve Teale wrote:Are we still just talking just AMD 64 here? Last time I tried to install the .deb package, the system told m that my Intel core2 64 bit machine was the wrong architecture. Feb 01 2010
Tue, 02 Feb 2010 15:23:25 +0000, Jesse Phillips wrote:Steve Teale wrote:Walter Bright Wrote:Trip Volpe wrote:Has anybody else managed to get DMD2 up and running on Ubuntu? It _is_ possible, right? Feb 02 2010
Yes it is possible and you don't even have to mess about with chroot. I think the package you're looking for is ia32-libs. This is my dmd.conf file: [Environment] DFLAGS=-I% P%/../../src/phobos -I% P%/../../src/druntime/import -L-L% P%/../lib -L-L/lib32 -L-L/usr/lib32 I think the important bits are -L-L/lib32 and -L-L/usr/lib32, the other three arguments are peculiarities of my set up. Trip Volpe wrote: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. Feb 01 2010
|