[Scons-users] How to handle MSVC when on 64 bit and TARGET_ARCH isn't specified

Kenny, Jason L jason.l.kenny at intel.com
Wed Apr 10 10:10:11 EDT 2013


My take is that if the host system is 64-bit, the target should default to that.
Ie the target is equal to host, unless the user says otherwise. The whole point of setting target is to tell SCons to do a cross build of some sort.

Jason

-----Original Message-----
From: scons-users-bounces at scons.org [mailto:scons-users-bounces at scons.org] On Behalf Of William Deegan
Sent: Tuesday, April 09, 2013 7:01 PM
To: SCons users mailing list
Subject: [Scons-users] How to handle MSVC when on 64 bit and TARGET_ARCH isn't specified

Greetings,

I'm working on a handful of MSVC bugs today.
One thing I'm not certain how to handle.

I"m on a 64 bit win 7 install.
I've installs MSVC2012 express.
This installs both 32 and 64 bit compilers.
The 64 bit is accessible via the x64 cross tools command prompt, which runs the initialization script with x86_amd64 as the target arch.

If the user hasn't specified TARGET_ARCH and has this toolset installed, should I try x86_amd64 before trying x86?


-Bill
_______________________________________________
Scons-users mailing list
Scons-users at scons.org
http://four.pairlist.net/mailman/listinfo/scons-users


More information about the Scons-users mailing list