in reply to 64bit compiler from MS

Aha!

I had installed the Windows SDK that was suppose to include it. I thought it didn't work.

It did work, it's just that it doesn't integrate into VC's vcvarsall as one would guess from the contents of that file. Instead, one uses

C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv

(Can be run via "Windows SDK 7.1 Command Prompt" in the Start menu.)

Who would have thought that the release notes would be useful?! What a foreign concept.

The next problem is that I'm getting

LINK : fatal error LNK1181: cannot open input file 'bufferoverflowU.li +b'

Replies are listed 'Best First'.
Re^2: 64bit compiler from MS
by ikegami (Patriarch) on Mar 04, 2011 at 07:22 UTC

    Seems bufferoverflowU doesn't exist anymore since it's included in the compiler. So I just removed both mentions of "bufferoverflowU.lib" from Config_heavy.pl.

    The only outstanding issue is the awful color to which SetEnv switches the console in order to indicate it's a compiler-ready shell.

Re^2: 64bit compiler from MS
by syphilis (Archbishop) on Mar 04, 2011 at 07:44 UTC


    With the Platform SDK, I run:
    C:\_64\Platform_SDK\SetEnv.cmd /XP64 /RETAIL
    I forget what, if anything, is achieved by those switches ... and I also don't know if that applies in any way to your Windows SDK.

    (I see you've fixed the bufferoverflowu.lib issue in the approved manner :-)

    Cheers,
    Rob

      With the Platform SDK, I run [...] /XP64 /RETAIL

      I think you mean /xp /x64 /retail

      It defaults to /win7 /x64 /debug (for me). /win7 should be fine since it's for local use only, but, but /retail is a good idea.

      (All options are listed by setenv /? from the aforementioned console.)

      (I see you've fixed the bufferoverflowu.lib issue in the approved manner :-)

      I hesitated, but creating a module that uses ExtUtils::FakeConfig to filter out the value felt like overkill :)

        /XP64 is a valid switch for the Platform SDK:
        /XP64 - target Windows XP 64
        Cheers,
        Rob
Re^2: 64bit compiler from MS
by Anonymous Monk on Mar 04, 2011 at 08:32 UTC