|
Boost-Build : |
Subject: Re: [Boost-build] builtin rule for assembler?
From: Vladimir Prus (ghost_at_[hidden])
Date: 2008-11-04 12:02:24
On Tuesday 04 November 2008 19:13:41 Thorsten Ottosen wrote:
> Hi,
>
> I was looking for a rule that produced the assembler output? I tried
> something like
>
> local source = [ glob *.cpp ] ;
> for local s in $(source)
> {
> obj $(s:B) : $(s) ;
> exe $(s:B).exe : $(s) ;
> asm $(s:B).asm : $(s) ;
> }
>
> but there is apparently no asm rule.
>
> Has anybody got a rule for this lying around?
I don't actually think gcc *can* produce asm, as such. It can produce asm *in addition* to
an object file, if "cxxflags=-save-temps" is specified. I also don't know if msvc can
produce assembler at all.
- Volodya
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk