On Fri, Jun 1, 2012 at 11:23 AM, Rick McGuire <[email protected]> wrote:
> Hmmmmm, is there something additional I need to install beyond VS
> 10.0?  I'm not sure I'm finding the SDK you're talking about.  I did
> find C:\Program Files\Microsoft SDKs\Windows\v7.0A, but there's no
> SetEnv batch file in the bin directory.  I assume this was installed
> as part of the VS 10.0 install.
>
> I did successfully build what appears to be a 64-bit build by
> specifying x64 on the call to vcvarsall that I was using for the old
> setup.

That's probably okay, since you have a recent version of VS.  I always
install a Windows SDK because the SDK that comes with VS will get out
of date over time.

For instance ooDialog has some newish code that uses control
enhancements available under Windows 7.  If you were compiling with VS
2005, the compile might fail because of missing defines, and you would
need to install an updated SDK.

The 7.1 Windows SDK is free from:

http://www.microsoft.com/en-us/download/details.aspx?id=8279

but I wouldn't fool with it if things build.

--
Mark Miesfeld

>
> Rick
>
> On Fri, Jun 1, 2012 at 2:09 PM, Mark Miesfeld <[email protected]> wrote:
>> On Fri, Jun 1, 2012 at 10:15 AM, Rick McGuire <[email protected]> wrote:
>>
>>> My laptop is starting to show signs of age, so I've just gotten a new
>>> one and am finally making the leap to the 64-bit Windows 7 world.
>>> I've never had to deal with the 64-bit world before.  What will I need
>>> to adjust to build the 64-bit executables?  I'm using VS 10.0 for the
>>> build environment.
>>
>> Rick,
>>
>> As far as ooRexx goes, it will just build.
>>
>> What you need to do is set the compiler env correctly.  You were
>> probably already doing something to set the compiler env on your
>> 32-bit system.
>>
>> I use a .bat file I run in a console window and then build from the
>> command prompt of that window.  My mine looks something like:
>>
>> call "C:\Tools\Microsoft.SDKs\v7.1\bin\SetEnv.cmd" /Release /x64 /win7
>>
>> Even though I have 'Release' in there, I still build the debug version
>> of rexx.  Our build determines if it is debug or not.
>>
>> A few caveats.  Well obviously you need to point to your installation
>> of the Windows SDK.
>>
>> With the 7.1 vesion of the Windows SDK, you don't need to call the
>> vcvarsall.bat in Visual Studio.  The SDK SetEnv.cmd does what's needed
>> for you.  But that seems to vary from SDK versions.
>>
>> I think the args also might vary a little from SDK to SDK.  You can
>> always just do:
>>
>> C:\Tools\Microsoft.SDKs\v7.1\bin\SetEnv.cmd /?
>>
>> and it will print out the correct args.
>>
>> The other thing is the SetEvn.cmd needs delayed expansion enabled,
>> which is usually off by default.  Use regedit to set this key to 0x1
>>
>>  HKEY_LOCAL_MACHINE\Software\Microsoft\Command Processor\DelayedExpansion
>>
>> SetEnv.cmd sets the console to a garish color, so in my batch file, at
>> the end I do this:
>>
>> @rem Set the console color back to the default
>> color
>>
>> which returns the console to its normal color.
>>
>> I think that's really all you need to do.  For our stuff, the /x64
>> sets things so a 64 bit build is done.  You can also set up things to
>> do a cross-compile for 32 bit on the 64 bit system.  But I never
>> fooled with that, it's easier for me to just build on a 32 bit system
>>
>>
>>> Are there any other issues I should be aware of now that I'm no longer on 
>>> XP?
>>
>> UAC is a pain in the butt.  In my opinion.  I know that some people
>> think it is fine in Windows 7.
>>
>> ------------------------------------------------------------------------------
>> Live Security Virtual Conference
>> Exclusive live event will cover all the ways today's security and
>> threat landscape has changed and how IT managers can respond. Discussions
>> will include endpoint security, mobile security and the latest in malware
>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>> _______________________________________________
>> Oorexx-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/oorexx-devel
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Oorexx-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/oorexx-devel

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Oorexx-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to