Boost logo

Boost-Build :

From: David Abrahams (dave_at_[hidden])
Date: 2005-06-15 11:59:40


Vladimir Prus <ghost_at_[hidden]> writes:

> On Tuesday 14 June 2005 20:07, David Abrahams wrote:
>> Vladimir Prus <ghost_at_[hidden]> writes:
>> > On Saturday 11 June 2005 00:47, David Abrahams wrote:
>> >> Suppose I have a file that *does* compile, and I want to preprocess
>> >> it?
>> >>
>> >> I think we may need to integrate direct support for preprocessing.
>> >>
>> >> But I think we also need a command-line option to preserve response
>> >> files.
>> >
>> > That's one possibility. I usually just touch the file and then
>> >
>> > bjam cxxflags=-save-temps
>>
>> What does that do?
>
> Passed -save-temps flags to the compiler, that, on gcc, causes the
> preprocessed source to be retained (together with other things, like
> assembler source).

That's fine if you're using GCC, I guess. I needed to know Borland's
PP output the other day.

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com
 

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