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
