D2 for Win64

2012-10-12 Thread Walter Bright

Is now in a semi-usable state. Problems remain:

$(LI 80 bit reals are truncated to 64 bits when formatting.)
$(LI Many math functions are not implemented.)
$(LI No symbolic debug info is generated.)
$(LI Cannot catch Win64 structured exception handling exceptions.)
$(LI VS debugger cannot look at call stack.)
$(LI Only tested with VS 2010.)
$(LI No installer.)

So if you're feeling intrepid, give it a whirl. Expect problems.

Yes, you have to have Visual Studio installed. Yes, it generates MS-Coff, and 
requires MS-Link to link.


Re: D2 for Win64

2012-10-13 Thread Jacob Carlborg

On 2012-10-13 03:44, Walter Bright wrote:

Is now in a semi-usable state. Problems remain:

 $(LI 80 bit reals are truncated to 64 bits when formatting.)
 $(LI Many math functions are not implemented.)
 $(LI No symbolic debug info is generated.)
 $(LI Cannot catch Win64 structured exception handling exceptions.)


Is this exceptions in general or is there some kind of DMD specific 
exception system that works?



 $(LI VS debugger cannot look at call stack.)
 $(LI Only tested with VS 2010.)
 $(LI No installer.)

So if you're feeling intrepid, give it a whirl. Expect problems.

Yes, you have to have Visual Studio installed. Yes, it generates
MS-Coff, and requires MS-Link to link.


This is really good news, you're making good progress, keep it up.

--
/Jacob Carlborg


Re: D2 for Win64

2012-10-13 Thread Paulo Pinto

On Saturday, 13 October 2012 at 01:45:11 UTC, Walter Bright wrote:

Is now in a semi-usable state. Problems remain:

$(LI 80 bit reals are truncated to 64 bits when 
formatting.)

$(LI Many math functions are not implemented.)
$(LI No symbolic debug info is generated.)
$(LI Cannot catch Win64 structured exception handling 
exceptions.)

$(LI VS debugger cannot look at call stack.)
$(LI Only tested with VS 2010.)
$(LI No installer.)

So if you're feeling intrepid, give it a whirl. Expect problems.

Yes, you have to have Visual Studio installed. Yes, it 
generates MS-Coff, and requires MS-Link to link.


Great work!

I imagine the Windows SDK would be enough, as  it also contains 
the compilers, at least until version 2010.


With 2012 I think Visual C++ Desktop Express might be required, 
in addition to the SDK.


--
Paulo


Re: D2 for Win64

2012-10-13 Thread Walter Bright

On 10/13/2012 3:00 AM, Jacob Carlborg wrote:
> On 2012-10-13 03:44, Walter Bright wrote:
>> Is now in a semi-usable state. Problems remain:
>>
>>  $(LI Cannot catch Win64 structured exception handling exceptions.)
>
> Is this exceptions in general or is there some kind of DMD specific exception
> system that works?

dmd for Win64 uses its own exception mechanism. That mechanism is also used on 
Linux, OSX, FreeBSD and Solaris, and is also incompatible with C++ EH on those 
platforms.




Re: D2 for Win64

2012-10-13 Thread Jesse Phillips

On Saturday, 13 October 2012 at 01:45:11 UTC, Walter Bright wrote:

Is now in a semi-usable state. Problems remain:

$(LI 80 bit reals are truncated to 64 bits when 
formatting.)

$(LI Many math functions are not implemented.)
$(LI No symbolic debug info is generated.)
$(LI Cannot catch Win64 structured exception handling 
exceptions.)

$(LI VS debugger cannot look at call stack.)
$(LI Only tested with VS 2010.)
$(LI No installer.)

So if you're feeling intrepid, give it a whirl. Expect problems.

Yes, you have to have Visual Studio installed. Yes, it 
generates MS-Coff, and requires MS-Link to link.


Link to download?