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

Bill Deegan bill at baddogconsulting.com
Tue Aug 25 12:57:14 EDT 2015


Which version  of visual studio are you using?
Sounds like a bug to me.

-Bill

On Tue, Aug 25, 2015 at 9:34 AM, <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: +49 911 9968-153, Fax: +49 911 9968-229
> E-Mail: Matthias.Gerstner at ncp-e.com
> Internet: http://www.ncp-e.com
>
> _______________________________________________
> Scons-users mailing list
> Scons-users at scons.org
> https://pairlist4.pair.net/mailman/listinfo/scons-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20150825/c569a001/attachment.html>


More information about the Scons-users mailing list