build icon indicating copy to clipboard operation
build copied to clipboard

[clang-win] invalid assembler invocation

Open hia3 opened this issue 8 years ago • 3 comments

Jamroot: exe main : main.asm ;

main.asm: empty

command line: b2.exe toolset=clang-win -sBOOST_ROOT=C:\path\to\boost

error: clang-win.compile.asm bin\clang-vc14-win\debug\main.obj '-c' is not recognized as an internal or external command, operable program or batch file. -c -Zp4 -Cp -Cx /Zi /Zd /W3 -Fo "bin\clang-vc14-win\debug\main.obj" "main.asm" ...failed clang-win.compile.asm bin\clang-vc14-win\debug\main.obj...

As you can see, ml.exe (or ml64.exe for address-model=64) is missing in command line.

hia3 avatar Feb 21 '17 18:02 hia3

The assembler rule is inherited from msvc, but clang-win doesn't actually set it up at all.

swatanabe avatar Jan 09 '18 23:01 swatanabe

Just for the record, I'm not using toolset=clang-win. I think this whole idea of clang-cl is stupid. I wish this bug-ridden clang-win.jam never existed.

hia3 avatar Jan 10 '18 01:01 hia3

Thank you for your contributions. Main development of B2 has moved to https://github.com/bfgroup/b2 This issue has been automatically marked as "transition" to indicate the potential for needing transition to the new B2 development project.

stale[bot] avatar Jun 26 '21 03:06 stale[bot]