Boost logo

Boost-Build :

Subject: Re: [Boost-build] builtin rule for assembler?
From: Vladimir Prus (vladimir_at_[hidden])
Date: 2008-11-05 04:57:18

Thorsten Ottosen wrote:

> Adder skrev:
>> Hi,
>> RW> You can get MSVC to output a .asm file with the /FA option -
>> RW>
>> Too bad you can't use that output as input to ML
>> (Microsoft Macro Assembler) to produce an .obj/.exe file
>> (unless you're ready to give up exception handling support ^^ Oh no !
>> The horrors !).
> This is not a problem for me. The reason I would like to get the
> assembler, is simply to see if the compiler performs the optimizations
> that I hope it would.
> Vladimir, even though the assembler files are produced as side-effects
> of a normal compilation, could the asm rule not simply be implemented
> as this compilation + an additional deletion of all other files?

Would it not be clearer to have <save-temps> feature, especially in light
of the fact that msvc produces asm that does not work?

- Volodya

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at