[Scons-users] SCons uses wrong Visual Studio assembler for 64 bit

mg at ncp-e.com mg at ncp-e.com
Tue Aug 25 12:34:16 EDT 2015


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: +49 911 9968-153, Fax: +49 911 9968-229
E-Mail: Matthias.Gerstner at ncp-e.com
Internet: http://www.ncp-e.com
-------------- 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/20150825/8c146fec/attachment.pgp>


More information about the Scons-users mailing list