dmd, x64 and Windows

Walter Bright newshound2 at digitalmars.com
Tue Feb 22 15:56:02 PST 2011


Trass3r wrote:
> While I'm delighted that we finally have a basic D2 x64 compiler I can't 
> stop wondering how long it will take till I finally get my hands on it 
> on Windows.
> God knows I'd have switched to gdc long ago if gcc wasn't such a PITA to 
> compile on Windows! Several attempts over the past year failed.
> 
> What bothers me most is that the bigger part of the delay is due to an 
> antiquated object format, linker and C runtime (that have caused enough 
> despair and rage since the beginning of time.. er, D)
> ELF is standard on Linux, Mach-O on Mac. And dmd adheres to that.
> So isn't Windows' de facto standard COFF in combination with MinGW's ld 
> or VC's link the natural choice?

To do 64 bits on Windows requires:

1. 64 bit OMF
2. 64 bit librarian
3. 64 bit generating dmd
4. 64 bit C compiler
5. 64 bit symbolic debug info
6. 64 bit debugger
7. 64 bit C runtime

Just one of those won't do it. All are necessary. The reason I did 64 bit linux 
first is all those things were ready to rock but dmd.


More information about the Digitalmars-d mailing list