Boost logo

Boost Users :

Subject: Re: [Boost-users] [clang-win][bjam][context] '-c' is not recognized as an internal or external command
From: Mikhail Strelnikov (mikhail.strelnikov_at_[hidden])
Date: 2017-02-06 17:18:16


This helps. Now I'm getting command:

    ml64 /c /Fo"D:\path\to\boost\bin.v2\libs\context\build\clang-vc14-win\release\link-static\runtime-link-static\threading-multi\asm\make_x86_64_ms_pe_masm.o"
"D:\path\to\boost\libs\context\src\asm\make_x86_64_ms_pe_masm.asm"

And new error is:

'ml64' is not recognized as an internal or external command, operable
program or batch file.

I think this happens because, for some reason, "$(setup-script)" is
not invoked. I'm reading file boost\tools\build\src\tools\msvc.jam,
line 1176 (I assume clang-win inherits from msvc):

toolset.flags msvc.compile .ASM <windows-api>$(api)/$(cpu-conditions)
: $(setup-script)$(cpu-assembler) -nologo ;

And also all those "-Zp4 -Cp -C" etc. are gone. How is that happening?

2017-02-06 15:40 GMT+03:00 Oliver Kowalke <oliver.kowalke_at_[hidden]>:
> try following modification:
>
> file context/build/Jamfile.v2
>
> for X86_64/MS/PE change '<toolset>clang' into '<toolset>clang-win' (should
> be line 799)
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net