[Scons-dev] SCons building with MS Visual C++10 on 64-bit Windows.

Kyle J Strand Kyle.Strand at beckman.com
Fri Jun 15 12:19:58 EDT 2012


Sorry, should have included a link to the issue again:
http://scons.tigris.org/issues/show_bug.cgi?id=2849

My proposed fix is also assuming that it's okay to have a 32-bit arch in
the try_target_archs list even if a 64-bit compiler is desired, since the
archs are tried in order and the x86 arch will therefore be tried last.

It shouldn't be too hard to add some logic before the return statement of
that function giving a warning if the x86 target architecture is actually
chosen (without having been specified by the user).

-----------------------------------------------------------------------
Kyle Strand, Software Intern
Beckman Coulter, Inc., Life Sciences Division
4862 Innovation Drive, Fort Collins, Colorado, 80525
(970) 204-7036



"Kyle J Strand" <Kyle.Strand at beckman.com>
Sent by: scons-dev-bounces at scons.org
06/15/2012 10:14 AM
Please respond to
SCons developer list <scons-dev at scons.org>


To
"SCons developer list" <scons-dev at scons.org>
cc
"SCons developer list" <scons-dev at scons.org>, scons-dev-bounces at scons.org
Subject
Re: [Scons-dev] SCons building with MS Visual C++10 on 64-bit Windows.






I've added a comment to the bug report detailing a more flexible fix than
the one originally suggested that seems to work fine on my machine (though
hopefully someone else can test it a bit more thoroughly--I already have
64-bit MSVS components installed). Basically, the problem seems to me to
be that 'x86' isn't appended to try_target_archs in enough cases, so I
modified the if statement in line 359 to be a bit more inclusive.

-----------------------------------------------------------------------
Kyle Strand, Software Intern
Beckman Coulter, Inc., Life Sciences Division
4862 Innovation Drive, Fort Collins, Colorado, 80525
(970) 204-7036
The server made the following annotations
---------------------------------------------------------------------------------

This message contains information that may be privileged or confidential
and is the property of Beckman Coulter, Inc. It is intended only for the
person to whom it is addressed. If you are not the intended recipient, you
are not authorized to read, print, retain, copy, disseminate, distribute
or use this message or any part thereof. If you receive this message in
error, please notify the sender immediately and delete all copies of this
message.
---------------------------------------------------------------------------------
_______________________________________________
Scons-dev mailing list
Scons-dev at scons.org
http://two.pairlist.net/mailman/listinfo/scons-dev


The server made the following annotations

---------------------------------------------------------------------------------

This message contains information that may be privileged or confidential and is the property of Beckman Coulter, Inc. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.

---------------------------------------------------------------------------------

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://two.pairlist.net/pipermail/scons-dev/attachments/20120615/0ca785c2/attachment.html>


More information about the Scons-dev mailing list