[Scons-users] SCons uses wrong Visual Studio assembler for 64 bit
mg at ncp-e.com
mg at ncp-e.com
Wed Aug 26 04:10:19 EDT 2015
I've tested this using Visual Studio 2012 Professional and with Visual
Studio 2015 Professional.
On Tue, Aug 25, 2015 at 06:57:14PM +0200, Bill Deegan wrote:
> Which version of visual studio are you using?
> Sounds like a bug to me.
>
> -Bill
> On Tue, Aug 25, 2015 at 9:34 AM, <[1]mg at ncp-e.com> wrote:
>
> Hi,
>
> I'm building assembler sources using SCons on Windows with Visual
> Studio for 64-bit target binaries.
>
> This fails by default, because SCons tries to use "ml.exe" which is only
> found in the 32-bit Visual Studio environment. For 64-bit the "ml64.exe"
> is used. However in Tool/masm.py I found that 'AS' is set
> unconditionally:
>
> env['AS'] = 'ml'
>
> The statement
>
> env['AS'] = "ml64"
>
> in my SConstruct fixes the problem for me.
>
> Is this a bug or am I doing something wrong?
>
> Thanks
>
> Matthias
> --
> Matthias Gerstner, Dipl.-Wirtsch.-Inf. (FH)
> Entwicklung
>
> NCP engineering GmbH
> Dombühler Straße 2, D-90449, Nürnberg
> Geschäftsführer Peter Söll, HRB-Nr: 77 86 Nürnberg
>
> Telefon: [2]+49 911 9968-153, Fax: [3]+49 911 9968-229
> E-Mail: [4]Matthias.Gerstner at ncp-e.com
> Internet: [5]http://www.ncp-e.com
> _______________________________________________
> Scons-users mailing list
> [6]Scons-users at scons.org
> [7]https://pairlist4.pair.net/mailman/listinfo/scons-users
>
> References
>
> Visible links
> 1. mailto:mg at ncp-e.com
> 2. file:///tmp/tel:%2B49%20911%209968-153
> 3. file:///tmp/tel:%2B49%20911%209968-229
> 4. mailto:Matthias.Gerstner at ncp-e.com
> 5. http://www.ncp-e.com/
> 6. mailto:Scons-users at scons.org
> 7. https://pairlist4.pair.net/mailman/listinfo/scons-users
> _______________________________________________
> Scons-users mailing list
> Scons-users at scons.org
> https://pairlist4.pair.net/mailman/listinfo/scons-users
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20150826/69ead7c5/attachment.pgp>
More information about the Scons-users
mailing list