Re: DMD on x86_64

2010-03-27 Thread Alvin Majik
tried the your approach it worked but compile cpp applications fails. [Sanity Checks - fails] i found my way arround it by installing cross32-gcc and adding CC=/usr/bin/i686-unknown-linux-gnu-gcc to the dmd.conf file I have added the procedure to Wiki4D http://www.prowiki.org/wiki4d/wiki.cgi?D__T

Re: DMD on x86_64

2010-03-25 Thread Chinedu Okonkwo
Robert Clipsham Wrote: > On 18/02/10 15:13, Jesse Phillips wrote: > > Please place them on Wiki4D, probably a sub-section under AMD64. If you > > don't I will, but I'll give you a chance :) > > > > http://www.prowiki.org/wiki4d/wiki.cgi?D__Tutorial/StartingWithD/Compiler/DMD > > Done, I hope it'

Re: DMD on x86_64

2010-02-18 Thread Robert Clipsham
On 18/02/10 15:13, Jesse Phillips wrote: Please place them on Wiki4D, probably a sub-section under AMD64. If you don't I will, but I'll give you a chance :) http://www.prowiki.org/wiki4d/wiki.cgi?D__Tutorial/StartingWithD/Compiler/DMD Done, I hope it's alright, feel free to edit it as you see

Re: DMD on x86_64

2010-02-18 Thread Jesse Phillips
Robert Clipsham wrote: > On 15/02/10 15:54, Robert Clipsham wrote: >> I've been wanting to try D2 properly for a while now, but as I use linux >> x86-64 I've had to resort to using a virtual machine, which is really >> off putting when I just want to play around with it. I've read multiple >> thre

Re: DMD on x86_64

2010-02-17 Thread Robert Clipsham
On 15/02/10 15:54, Robert Clipsham wrote: I've been wanting to try D2 properly for a while now, but as I use linux x86-64 I've had to resort to using a virtual machine, which is really off putting when I just want to play around with it. I've read multiple threads about getting dmd working with a

Re: DMD on x86_64

2010-02-17 Thread Jesse Phillips
Robert Clipsham Wrote: > On 17/02/10 06:05, Jesse Phillips wrote: > > Oh, yeah Arch dropped most efforts to support 32bit didn't they. This > > I'm pretty sure they didn't... maybe they did on x86_64, I don't know. > > > probably won't help but maybe trying > > > > dmd test.d -L-L/opt/lib32/lib

Re: DMD on x86_64

2010-02-17 Thread Jérôme M. Berger
Don't forget that gcc adds a couple of system libraries (like libgcc) to the linker command. You need to give the right path for those too (you might want to try with --sysroot, or use --nostdlib and specify -lgcc manually) Jerome -- mailto:jeber...@free.fr http://jeberger

Re: DMD on x86_64

2010-02-17 Thread Robert Clipsham
On 17/02/10 16:58, Lars T. Kyllingstad wrote: Try typing: export LD_LIBRARY_PATH="/opt/lib32" before compiling. -Lars No luck unfortunately, I get all the same errors as when I use -L, (I believe -L is checked first anyway, not sure though).

Re: DMD on x86_64

2010-02-17 Thread Lars T. Kyllingstad
Robert Clipsham wrote: I've been wanting to try D2 properly for a while now, but as I use linux x86-64 I've had to resort to using a virtual machine, which is really off putting when I just want to play around with it. I've read multiple threads about getting dmd working with a multilib system,

Re: DMD on x86_64

2010-02-17 Thread Robert Clipsham
On 17/02/10 06:20, Brad Roberts wrote: On 2/16/2010 10:05 PM, Jesse Phillips wrote: Robert Clipsham wrote: On 16/02/10 15:20, Jesse Phillips wrote: Robert Clipsham wrote: I don't use ubuntu, so those instructions don't apply to me. I don't either, but the instructions still apply to me. W

Re: DMD on x86_64

2010-02-17 Thread Robert Clipsham
On 17/02/10 06:05, Jesse Phillips wrote: Oh, yeah Arch dropped most efforts to support 32bit didn't they. This I'm pretty sure they didn't... maybe they did on x86_64, I don't know. probably won't help but maybe trying dmd test.d -L-L/opt/lib32/lib -L-melf_i386 Already tried this, no luck

Re: DMD on x86_64

2010-02-17 Thread Robert Clipsham
On 17/02/10 06:20, Brad Roberts wrote: On 2/16/2010 10:05 PM, Jesse Phillips wrote: Robert Clipsham wrote: On 16/02/10 15:20, Jesse Phillips wrote: Robert Clipsham wrote: I don't use ubuntu, so those instructions don't apply to me. I don't either, but the instructions still apply to me. W

Re: DMD on x86_64

2010-02-17 Thread Robert Clipsham
On 17/02/10 08:48, BCS wrote: Hello Brad, The other thing you could try is to take dmd out of the loop. Can you build a 32 bit c/c++ app with gcc/g++ directly? If you can't get that to work, it's unlikely that dmd will we successful either, given that it relies on gcc to invoke the linker, pick

Re: DMD on x86_64

2010-02-17 Thread Robert Clipsham
On 17/02/10 11:06, Lutger wrote: If you manage to find the proper 32 bit libraries, there is a configuration file for ld where you can specify the search paths, should be: /etc/ld.so.conf The 64-bit distro's I have used fail to add the 32-bit lib paths to this file, even if you install the right

Re: DMD on x86_64

2010-02-17 Thread Lutger
If you manage to find the proper 32 bit libraries, there is a configuration file for ld where you can specify the search paths, should be: /etc/ld.so.conf The 64-bit distro's I have used fail to add the 32-bit lib paths to this file, even if you install the right packages.

Re: DMD on x86_64

2010-02-17 Thread BCS
Hello Brad, The other thing you could try is to take dmd out of the loop. Can you build a 32 bit c/c++ app with gcc/g++ directly? If you can't get that to work, it's unlikely that dmd will we successful either, given that it relies on gcc to invoke the linker, picking up all the right c librar

Re: DMD on x86_64

2010-02-16 Thread Brad Roberts
On 2/16/2010 10:05 PM, Jesse Phillips wrote: > Robert Clipsham wrote: > >> On 16/02/10 15:20, Jesse Phillips wrote: >>> Robert Clipsham wrote: >>> I don't use ubuntu, so those instructions don't apply to me. >>> >>> I don't either, but the instructions still apply to me. What distro are >>> y

Re: DMD on x86_64

2010-02-16 Thread Jesse Phillips
Robert Clipsham wrote: > On 16/02/10 15:20, Jesse Phillips wrote: >> Robert Clipsham wrote: >> >>> I don't use ubuntu, so those instructions don't apply to me. >> >> I don't either, but the instructions still apply to me. What distro are >> you using? If you figure it out, write up some instructio

Re: DMD on x86_64

2010-02-16 Thread Robert Clipsham
On 16/02/10 15:20, Jesse Phillips wrote: Robert Clipsham wrote: I don't use ubuntu, so those instructions don't apply to me. I don't either, but the instructions still apply to me. What distro are you using? If you figure it out, write up some instructions for it. I'm using Arch Linux. I'v

Re: DMD on x86_64

2010-02-16 Thread Jesse Phillips
Robert Clipsham wrote: > I don't use ubuntu, so those instructions don't apply to me. I don't either, but the instructions still apply to me. What distro are you using? If you figure it out, write up some instructions for it.

Re: DMD on x86_64

2010-02-16 Thread Lars T. Kyllingstad
Robert Clipsham wrote: On 15/02/10 21:44, Jesse Phillips wrote: Robert Clipsham wrote: I've been wanting to try D2 properly for a while now, but as I use linux x86-64 I've had to resort to using a virtual machine, which is really off putting when I just want to play around with it. I've read m

Re: DMD on x86_64

2010-02-15 Thread Robert Clipsham
On 15/02/10 21:44, Jesse Phillips wrote: Robert Clipsham wrote: I've been wanting to try D2 properly for a while now, but as I use linux x86-64 I've had to resort to using a virtual machine, which is really off putting when I just want to play around with it. I've read multiple threads about ge

Re: DMD on x86_64

2010-02-15 Thread Jesse Phillips
Robert Clipsham wrote: > I've been wanting to try D2 properly for a while now, but as I use linux > x86-64 I've had to resort to using a virtual machine, which is really > off putting when I just want to play around with it. I've read multiple > threads about getting dmd working with a multilib

DMD on x86_64

2010-02-15 Thread Robert Clipsham
I've been wanting to try D2 properly for a while now, but as I use linux x86-64 I've had to resort to using a virtual machine, which is really off putting when I just want to play around with it. I've read multiple threads about getting dmd working with a multilib system, but I still can't get