Boost logo

Boost-Build :

From: David Abrahams (dave_at_[hidden])
Date: 2005-06-16 07:10:42


Vladimir Prus <ghost_at_[hidden]> writes:

> On Thursday 16 June 2005 14:54, David Abrahams wrote:
>> Vladimir Prus <ghost_at_[hidden]> writes:
>> > On Wednesday 15 June 2005 20:59, David Abrahams wrote:
>> >> >> 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.
>> >
>> > And what's the right way to get it? Running "cpp" directly? In that case
>> > how saving response files will help?
>>
>> cpp supports most of the same options, including response files. But
>> I needed the same for VC++, too.
>
> I'm still lost. Do you want to either:
> 1. Save response file, remove command options that are not supported by the
> preprocessor, and run the preprocessor manually?
> 2. Have builtin support for getting preprocessor output?

Both :)

-- 
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