December 27, 2012
On 12/27/2012 7:21 AM, Andrej Mitrovic wrote:
> On 12/27/12, Walter Bright <walter@digitalmars.com> wrote:
>> LINKCMD has been changed back. What do you suggest for the defaults for the
>> others?
> After starting vcvarsall.bat both 'VCINSTALLDIR' and 'WindowsSdkDir'
> are defined as environment variables.
>

I know, but I wished to be able to run Win64 without setting up the environment for VC - these two are the minimum.

What do you suggest?
_______________________________________________
dmd-beta mailing list
dmd-beta@puremagic.com
http://lists.puremagic.com/mailman/listinfo/dmd-beta

December 27, 2012
On 12/27/12, Walter Bright <walter@digitalmars.com> wrote:
> What do you suggest?

Here you go: http://codepad.org/n4xvlNjh

This will find the paths in the registry and set the environment variables if they're not already set. I'm assuming DMD can call that batch file (or maybe sc.ini can be set to call it).

It's hardcoded for VC10, but maybe it's possible to try to iterate
through 10.0 or newer versions in the registry.
_______________________________________________
dmd-beta mailing list
dmd-beta@puremagic.com
http://lists.puremagic.com/mailman/listinfo/dmd-beta

December 30, 2012
On 12/26/2012 3:00 AM, Walter Bright wrote:
> Concomitant with the staging branch, here are the first betas:
>
> http://ftp.digitalmars.com/dmd1beta.zip
> http://ftp.digitalmars.com/dmd2beta.zip


I've been posting regular builds.

No comments in a while - are we good to go?

http://d.puremagic.com/issues/buglist.cgi?query_format=advanced&bug_severity=regression&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED
_______________________________________________
dmd-beta mailing list
dmd-beta@puremagic.com
http://lists.puremagic.com/mailman/listinfo/dmd-beta

December 30, 2012
On 12/30/12, Walter Bright <walter@digitalmars.com> wrote:
> I've been posting regular builds.

LINKCMD64=%VCINSTALLDIR%bin\amd64\link.exe

Missing a slash after %VCINSTALLDIR%:

LINKCMD64=%VCINSTALLDIR%\bin\amd64\link.exe
_______________________________________________
dmd-beta mailing list
dmd-beta@puremagic.com
http://lists.puremagic.com/mailman/listinfo/dmd-beta

December 30, 2012
On 12/30/12, Walter Bright <walter@digitalmars.com> wrote:
> No comments in a while - are we good to go?

This (http://d.puremagic.com/issues/show_bug.cgi?id=4596) should be
reverted as you've commented here:
http://d.puremagic.com/issues/show_bug.cgi?id=780#c3
_______________________________________________
dmd-beta mailing list
dmd-beta@puremagic.com
http://lists.puremagic.com/mailman/listinfo/dmd-beta

December 30, 2012
On 12/30/2012 1:26 PM, Andrej Mitrovic wrote:
> On 12/30/12, Walter Bright <walter@digitalmars.com> wrote:
>> I've been posting regular builds.
> LINKCMD64=%VCINSTALLDIR%bin\amd64\link.exe
>
> Missing a slash after %VCINSTALLDIR%:
>
> LINKCMD64=%VCINSTALLDIR%\bin\amd64\link.exe
> _______________________________________________
>

VCINSTALLDIR, when set by VC, includes the trailing \
_______________________________________________
dmd-beta mailing list
dmd-beta@puremagic.com
http://lists.puremagic.com/mailman/listinfo/dmd-beta

December 30, 2012
 12/30/12, Andrej Mitrovic <andrej.mitrovich@gmail.com> wrote:
> On 12/30/12, Walter Bright <walter@digitalmars.com> wrote:
>> No comments in a while - are we good to go?

The HTML files are outdated. For example the deprecate.html doesn't
list the scope attribute even though it's in staging:
https://github.com/D-Programming-Language/d-programming-language.org/blob/staging/deprecate.dd#L43
_______________________________________________
dmd-beta mailing list
dmd-beta@puremagic.com
http://lists.puremagic.com/mailman/listinfo/dmd-beta

December 30, 2012
On 12/30/12, Walter Bright <walter@digitalmars.com> wrote:
> VCINSTALLDIR, when set by VC, includes the trailing \

I think that's only true for WindowsSdkDir, not VSINSTALLDIR. See the vsvars32.bat file or the vcvarsamd64.bat file, here's some snippets:

@SET VCINSTALLDIR=C:\Program Files\Microsoft Visual Studio 9.0\VC @if errorlevel 1 set WindowsSdkDir=%VCINSTALLDIR%\PlatformSDK\ set "PATH=%WindowsSdkDir%bin;%PATH%"

It seems it expects the SDK dir to have the slash but not the VC dir.
_______________________________________________
dmd-beta mailing list
dmd-beta@puremagic.com
http://lists.puremagic.com/mailman/listinfo/dmd-beta

December 30, 2012
On 12/30/2012 1:44 PM, Andrej Mitrovic wrote:
> On 12/30/12, Walter Bright <walter@digitalmars.com> wrote:
>> VCINSTALLDIR, when set by VC, includes the trailing \
> I think that's only true for WindowsSdkDir, not VSINSTALLDIR. See the
> vsvars32.bat file or the vcvarsamd64.bat file, here's some snippets:
>
> @SET VCINSTALLDIR=C:\Program Files\Microsoft Visual Studio 9.0\VC
> @if errorlevel 1 set WindowsSdkDir=%VCINSTALLDIR%\PlatformSDK\
> set "PATH=%WindowsSdkDir%bin;%PATH%"
>
> It seems it expects the SDK dir to have the slash but not the VC dir.
>

VS2010 adds the trailing \ for both. It's a default install of VS2010.
_______________________________________________
dmd-beta mailing list
dmd-beta@puremagic.com
http://lists.puremagic.com/mailman/listinfo/dmd-beta

December 31, 2012
On 12/30/12, Walter Bright <walter@digitalmars.com> wrote:
> VS2010 adds the trailing \ for both. It's a default install of VS2010.

My bad, I was looking in the VS9 directory instead of VS10. They've
changed the environment variables in VS2010.
_______________________________________________
dmd-beta mailing list
dmd-beta@puremagic.com
http://lists.puremagic.com/mailman/listinfo/dmd-beta