64-bit support (Was: Poll: Primary D version)

Leandro Lucarella llucax at gmail.com
Tue May 25 09:43:05 PDT 2010


Andrei Alexandrescu, el 25 de mayo a las 08:27 me escribiste:
> On 05/24/2010 07:16 PM, eles wrote:
> >== Quote from Andrei Alexandrescu (SeeWebsiteForEmail at erdani.org)'s
> >article
> >>On 05/24/2010 05:20 PM, Walter Bright wrote:
> >>>Andrei Alexandrescu wrote:
> >>>>E.g. I can't install the .deb file on my 64-bit Linux.
> >>>
> >>>I think the current .deb files can be.
> >>Just tried again, same error message:
> >>Error: Wrong architecture 'i386'
> >>Let me know how I can help.
> >>Andrei
> >
> >just type
> >
> >sudo dpkg -i --force-architecture dmd_X.XXX-0_i386.deb
> >
> >where dmd_X.XXX-0_i386.deb is the name of the .deb file
> 
> Thanks. Is there a way to make that directive automatic inside the
> .deb file?

No, that's a broken deb file. The "right thing to do" is make 2 packages,
one for i386 and one for amd64. The amd64 packages should depend on the
necessary 32-bit libraries like ia32-libs.

-- 
Leandro Lucarella (AKA luca)                     http://llucax.com.ar/
----------------------------------------------------------------------
GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145  104C 949E BFB6 5F5A 8D05)
----------------------------------------------------------------------
Every day 21 new born babies will be given to the wrong parents


More information about the Digitalmars-d mailing list