View mode: basic / threaded / horizontal-split · Log in · Help
February 01, 2010
Re: Using DMD2 on Ubuntu 9.04 x64?
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! :-)
February 01, 2010
Re: Using DMD2 on Ubuntu 9.04 x64?
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 idea. I'm not even sure what the 
packages I listed actually install - I just tried them (based on web 
search inquiries) and they work.
February 01, 2010
Re: Using DMD2 on Ubuntu 9.04 x64?
dsimcha wrote:
> == Quote from Walter Bright (newshound1@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 gcc-multilib
>>   sudo apt-get install g++-multilib
> 
> Is there any way to solve this if you don't have root access?

Beats me. Perhaps ask your sys admin?
February 02, 2010
Re: Using DMD2 on Ubuntu 9.04 x64?
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.
>
> Yes, I have an AMD64. How that would differ as far as dev tool  
> installation from Intel, I have no idea. I'm not even sure what the  
> packages I listed actually install - I just tried them (based on web  
> search inquiries) and they work.

Possibly related, I filed this issue last year:
http://d.puremagic.com/issues/show_bug.cgi?id=3028 (The D 1.0 Ubuntu .deb  
file is completely broken)

-- 
Best regards,
 Vladimir                          mailto:thecybershadow@gmail.com
February 02, 2010
Re: Using DMD2 on Ubuntu 9.04 x64?
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 apt-get install g++-multilib
>
> Walter,
>
> 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.
>
> Thanks
> Steve
>

Intel 64 is AMD64. Intel dropped their 64-bit implementation, EM64T,
after AMD won. The required packages are the same for both systems.

The deb package is stated to be i386, which is not AMD64. You can force
the installation by using:

   dpkg --force-architecture -i dmd.1.043.deb
February 02, 2010
Re: Using DMD2 on Ubuntu 9.04 x64?
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 
> installation from Intel, I have no idea. I'm not even sure what the 
> packages I listed actually install - I just tried them (based on web 
> search inquiries) and they work.

Sorry Walter, I got my question wrong - probably too late in the day. I guess what I'm asking really is will there be a 32 bit version of D for Ubuntu in the near future, and if so, will it be D2, or D1, or both?

Thanks
Steve
February 02, 2010
Re: Using DMD2 on Ubuntu 9.04 x64?
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 would differ as far as dev tool 
>> installation from Intel, I have no idea. I'm not even sure what the 
>> packages I listed actually install - I just tried them (based on web 
>> search inquiries) and they work.
> 
> Sorry Walter, I got my question wrong - probably too late in the day. I guess what I'm asking really is will there be a 32 bit version of D for Ubuntu in the near future, and if so, will it be D2, or D1, or both?
> 
> Thanks
> Steve

32-bit D on 32-bit Ubuntu works. 32-bit D on 64-bit Ubuntu is more 
problematic (requires the extra packages just discussed). 64-bit D on 
64-bit Ubuntu does not exist. 64-bit D on 32-bit Ubuntu may or may not 
exist, but anyway it doesn't work. :o)

Andrei
February 02, 2010
Re: Using DMD2 on Ubuntu 9.04 x64?
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?
>>> 
>>> 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
>>
>> Walter,
>>
>> 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.
>>
>> Thanks
>> Steve
>>
>>
> 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:
http://en.wikipedia.org/wiki/X86-64#Differences_between_AMD64_and_Intel_64
February 02, 2010
Re: Using DMD2 on Ubuntu 9.04 x64?
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 would differ as far as dev tool 
>>> installation from Intel, I have no idea. I'm not even sure what the 
>>> packages I listed actually install - I just tried them (based on web 
>>> search inquiries) and they work.
>>
>> Sorry Walter, I got my question wrong - probably too late in the day. 
>> I guess what I'm asking really is will there be a 32 bit version of D 
>> for Ubuntu in the near future, and if so, will it be D2, or D1, or both?
>>
>> Thanks
>> Steve
> 
> 32-bit D on 32-bit Ubuntu works. 32-bit D on 64-bit Ubuntu is more 
> problematic (requires the extra packages just discussed). 64-bit D on 
> 64-bit Ubuntu does not exist. 64-bit D on 32-bit Ubuntu may or may not 
> exist, but anyway it doesn't work. :o)

64 bit D on amd64 has been reported to work very well with LDC and GDC.
I'm not sure what you mean by 64 bit on 32 bits.

> Andrei
February 02, 2010
Re: Using DMD2 on Ubuntu 9.04 x64?
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 AMD64. How that would differ as far as dev tool 
>>>> installation from Intel, I have no idea. I'm not even sure what the 
>>>> packages I listed actually install - I just tried them (based on web 
>>>> search inquiries) and they work.
>>>
>>> Sorry Walter, I got my question wrong - probably too late in the day. 
>>> I guess what I'm asking really is will there be a 32 bit version of D 
>>> for Ubuntu in the near future, and if so, will it be D2, or D1, or both?
>>>
>>> Thanks
>>> Steve
>>
>> 32-bit D on 32-bit Ubuntu works. 32-bit D on 64-bit Ubuntu is more 
>> problematic (requires the extra packages just discussed). 64-bit D on 
>> 64-bit Ubuntu does not exist. 64-bit D on 32-bit Ubuntu may or may not 
>> exist, but anyway it doesn't work. :o)
> 
> 64 bit D on amd64 has been reported to work very well with LDC and GDC.

Sorry! I meant dmd...

> I'm not sure what you mean by 64 bit on 32 bits.

It was a joke.


Andrei
1 2 3
Top | Discussion index | About this forum | D home