Questions about windows support

Jonathan M Davis jmdavisProg at gmx.com
Mon Feb 20 15:07:33 PST 2012


On Monday, February 20, 2012 15:04:02 H. S. Teoh wrote:
> On Mon, Feb 20, 2012 at 06:00:14PM -0500, Jonathan M Davis wrote:
> > On Monday, February 20, 2012 15:00:28 H. S. Teoh wrote:
> > > On Mon, Feb 20, 2012 at 05:25:28PM -0500, Jonathan M Davis wrote:
> > > > On Monday, February 20, 2012 22:36:49 Benjamin Thaut wrote:
> > > > > 1) Is there a chance that dmd will support 64 bit on windows any
> > > > > time soon? What are the issues currently with 64 bit support on
> > > > > windows? (optlink? backend?)
> > > > 
> > > > Neither support 64-bit. So, the changes required to the toolchain
> > > > are _far_ greater for 64-bit Windows than the Posix OSes. It'll
> > > > come eventually, but probably not for a while.
> > > 
> > > [...]
> > > 
> > > Does gdc support 64-bit? AFAIK it should, since it uses the gcc
> > > backend.
> > 
> > As I understand it, it does, but I've never used it.
> 
> [...]
> 
> Well, I guess my question was more along the lines of, does it provide
> any 64-bit specific advantages? I've been using gdc as my main D
> compiler, and I'm running 64-bit Linux. Seems to work fine.

dmd, gdc, and ldc all use the same front-end. So, aside from code generation, 
they should be essentially identical. It's whatever the backend does with code 
generation that results in the difference (such as using COFF instead of OMF on 
Windows or using a different set of optimizations).

- Jonathan M Davis


More information about the Digitalmars-d mailing list