64 bit linux

Frits van Bommel fvbommel at REMwOVExCAPSs.nl
Wed Apr 11 11:47:20 PDT 2007


Johan Granberg wrote:
> Frits van Bommel wrote:
> 
>> Funog wrote:
>>> I am using SimplyMEPIS 6.5 64 bit linux. DMD used to work fine with
>>> previous 32 bit versions of SimplyMepis, but now linking would not work.
>>> A hello world ( void main(char[][] args){printf("Hello\r\n");}) gives :
>>>
[snip errors]
>>>
>>> I am not very good at linux... Is there a way to correct this problem, or
>>> will DMD just do not work on my distro?
>> The problem is that the libraries it finds are 64-bit, so they don't
>> link with 32-bit applications.
>> I had a similar problem on 64-bit Ubuntu. I worked around it by running
>> DMD in a 32-bit chroot. It's not ideal but it works...
>> (If anyone has a better solution, I'd love to hear it)
> 
> You could try to use gdc instead of dmd, gdc has 64 bit support so 64 bit
> libraries wont be a problem :)

Well, I did that too, I have both installed ;).


More information about the Digitalmars-d-learn mailing list