Boost logo

Boost-Build :

Subject: Re: [Boost-build] builtin rule for assembler?
From: Thorsten Ottosen (thorsten.ottosen_at_[hidden])
Date: 2008-11-05 09:27:59

Vladimir Prus skrev:
> 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?

That would also work for me, I guess. The only thing here is that I
don't always want the .asm files to lie around and slow down the
file-system. My use-case is that I once in a while would like to see the
  asm for some code.


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