Re: dmd2 on Ubuntu

2011-05-07 Thread Brian Myers
So I removed the executables from /usr/local/bin and rather than adding them to my path, I sym linked them to the dmd2/linux/bin directory in my home directory. I did this because I'd like to have the compiler and tools available system wide. I then moved the dmd.conf file from /etc to the

Re: dmd2 on Ubuntu

2011-05-07 Thread Walter Bright
On 5/7/2011 12:03 PM, Brian Myers wrote: So I removed the executables from /usr/local/bin and rather than adding them to my path, I sym linked them to the dmd2/linux/bin directory in my home directory. I did this because I'd like to have the compiler and tools available system wide. I then moved

dmd2 on Ubuntu

2011-05-06 Thread Brian Myers
Hello all, It's been a while since I've worked with D, but I'm coming back to it now since it has 64 bit support for Windows, Linux and Mac. I'm developing on 64 bit Ubuntu. Here's the output of uname -a: Linux jetty 2.6.32-31-generic #61-Ubuntu SMP Fri Apr 8 18:25:51 UTC 2011 x86_64 GNU/Linux

Re: dmd2 on Ubuntu

2011-05-06 Thread Nick Sabalausky
Brian Myers tarkawebf...@gmail.com wrote in message news:iq1if2$2d6g$1...@digitalmars.com... Hello all, It's been a while since I've worked with D, but I'm coming back to it now since it has 64 bit support for Windows, Linux and Mac. For linux. 64 on Win/Mac is still to come.

Re: dmd2 on Ubuntu

2011-05-06 Thread Walter Bright
put dmd.conf in the same directory as dmd.

Re: dmd2 on Ubuntu

2011-05-06 Thread Jesse Phillips
Brian Myers Wrote: Hello all, dmd generates 64 bit only for Linux, GDC should work though. What is the error when you compile with dmd? The error you are getting from ld is saying that you have no main function. You know you can/should put your libraries in /usr/local/lib and your source

Re: dmd2 on Ubuntu

2011-05-06 Thread Jonathan M Davis
Hello all, It's been a while since I've worked with D, but I'm coming back to it now since it has 64 bit support for Windows, Linux and Mac. I'm developing on 64 bit Ubuntu. Here's the output of uname -a: Linux jetty 2.6.32-31-generic #61-Ubuntu SMP Fri Apr 8 18:25:51 UTC 2011 x86_64

Re: Using DMD2 on Ubuntu 9.04 x64?

2010-02-03 Thread Don
Jesse Phillips wrote: retard Wrote: Intel 64 is AMD64. Intel dropped their 64-bit implementation, EM64T, after AMD won. That's bullshit, but I guess it doesn't matter, because most software uses the compatible subset of both versions. See:

Re: Using DMD2 on Ubuntu 9.04 x64?

2010-02-03 Thread Jesse Phillips
Don wrote: Jesse Phillips wrote: retard Wrote: Intel 64 is AMD64. Intel dropped their 64-bit implementation, EM64T, after AMD won. That's bullshit, but I guess it doesn't matter, because most software uses the compatible subset of both versions. See:

Re: Using DMD2 on Ubuntu 9.04 x64?

2010-02-02 Thread Jesse Phillips
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? 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

Re: Using DMD2 on Ubuntu 9.04 x64?

2010-02-02 Thread Steve Teale
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. Yes, I have an AMD64. How that would differ as far as dev tool

Re: Using DMD2 on Ubuntu 9.04 x64?

2010-02-02 Thread retard
Tue, 02 Feb 2010 15:23:25 +, 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? Here's what I use on Ubuntu 64: sudo apt-get install gcc-multilib libc6-i386

Re: Using DMD2 on Ubuntu 9.04 x64?

2010-02-02 Thread grauzone
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. Yes, I have an AMD64. How that

Re: Using DMD2 on Ubuntu 9.04 x64?

2010-02-02 Thread Andrei Alexandrescu
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. Yes, I have an

Re: Using DMD2 on Ubuntu 9.04 x64?

2010-02-02 Thread Jesse Phillips
retard Wrote: Intel 64 is AMD64. Intel dropped their 64-bit implementation, EM64T, after AMD won. That's bullshit, but I guess it doesn't matter, because most software uses the compatible subset of both versions. See:

Re: Using DMD2 on Ubuntu 9.04 x64?

2010-02-01 Thread Lars T. Kyllingstad
Walter Bright wrote: Trip Volpe wrote: Has anybody else managed to get DMD2 up and running on Ubuntu? It _is_ possible, right? Here's what I use on Ubuntu 64: sudo apt-get install gcc-multilib libc6-i386 lib6-dev-i386 That last one is missing a 'c': libc6-dev-i386 sudo apt-get install

Re: Using DMD2 on Ubuntu 9.04 x64?

2010-02-01 Thread Gareth Charnock
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=...@p%/../../src/phobos -...@p%/../../src/druntime/import -l...@p%/../lib -L-L/lib32 -L-L/usr/lib32 I think the important

Re: Using DMD2 on Ubuntu 9.04 x64?

2010-02-01 Thread Steve Teale
Walter Bright Wrote: Trip Volpe wrote: Has anybody else managed to get DMD2 up and running on Ubuntu? It _is_ possible, right? 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

Re: Using DMD2 on Ubuntu 9.04 x64?

2010-02-01 Thread dsimcha
== Quote from Walter Bright (newshou...@digitalmars.com)'s article Trip Volpe wrote: Has anybody else managed to get DMD2 up and running on Ubuntu? It _is_ possible, right? Here's what I use on Ubuntu 64: sudo apt-get install gcc-multilib libc6-i386 lib6-dev-i386 sudo apt-get install

Re: Using DMD2 on Ubuntu 9.04 x64?

2010-02-01 Thread Trip Volpe
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 That did the trick. Thanks much! :-)

Re: Using DMD2 on Ubuntu 9.04 x64?

2010-02-01 Thread Walter Bright
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. Yes, I have an AMD64. How that would differ as far as dev tool installation from Intel, I have no

Re: Using DMD2 on Ubuntu 9.04 x64?

2010-02-01 Thread Walter Bright
dsimcha wrote: == Quote from Walter Bright (newshou...@digitalmars.com)'s article Trip Volpe wrote: Has anybody else managed to get DMD2 up and running on Ubuntu? It _is_ possible, right? Here's what I use on Ubuntu 64: sudo apt-get install gcc-multilib libc6-i386 lib6-dev-i386 sudo

Re: Using DMD2 on Ubuntu 9.04 x64?

2010-02-01 Thread Vladimir Panteleev
On Mon, 01 Feb 2010 22:44:31 +0200, Walter Bright newshou...@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. Yes, I have an

Using DMD2 on Ubuntu 9.04 x64?

2010-01-31 Thread Trip Volpe
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

Re: Using DMD2 on Ubuntu 9.04 x64?

2010-01-31 Thread Nick Sabalausky
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

Re: Using DMD2 on Ubuntu 9.04 x64?

2010-01-31 Thread Trip Volpe
Nick Sabalausky Wrote: I haven't gotten into D2 yet, but D1 (DMD) works fine on Ubuntu 9.04 for me. Hm, just tried DMD 1.0, same exact result. Do you have a 32-bit installation of Ubuntu?

Re: Using DMD2 on Ubuntu 9.04 x64?

2010-01-31 Thread Walter Bright
Trip Volpe wrote: Has anybody else managed to get DMD2 up and running on Ubuntu? It _is_ possible, right? 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

Re: Using DMD2 on Ubuntu 9.04 x64?

2010-01-31 Thread Andrei Alexandrescu
Walter Bright wrote: Trip Volpe wrote: Has anybody else managed to get DMD2 up and running on Ubuntu? It _is_ possible, right? 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