List Info

Thread: Huang/x64 - Response files prevent debugging




Huang/x64 - Response files prevent debugging
user name
2006-08-21 16:03:03
"Andrei Melnikov" <andy.melnikovgmail.com> writes:

> On 18/08/06, Johan Nilsson <r.johan.nilssongmail.com> wrote:
>> Andrei Melnikov wrote:
>>
>> >
>> > E is used to create .rsp files. And -d is used
to specify the debug
>> > logging level.
>>
>> How is this "E" actually used? Never
seen a reference to it before.
>>
>> In Boost.Jam the :E modifier is used to assign a
value to an unset variable.
>
> Well, it's not actually :E, but () construct.
>
> Here is an example taken from msvc.jam:
>
> actions compile-c-c++
> {
>     $(.CC) "($(<[1]:W).rsp:E="$(>[1]:W)"
-Fo"$(<[1]:W)"
> -Yu"$(>[3]=)"
; -Fp"$(>[2]:W)" $(CC_RSPLINE))"
> }
>
> It creates a file $(<[1]:W).rsp with
$(>[1]:W)" -Fo"$(<[1]:W)"
> -Yu"$(>[3]=)"
; -Fp"$(>[2]:W)" $(CC_RSPLINE) written
inside.
>
> So I just want to write everything written using () to the
log at
> debug level 2 and higher.
>
> The merging of RSP and command line is toolset-specific
and I don't
> think it will give us a lot of advantages.  I think we
should see
> the exact picture. 

I agree.

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

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
Huang/x64 - Response files prevent debugging
user name
2006-08-21 18:14:03
On 21/08/06, David Abrahams <daveboost-consulting.com>
wrote:
> "Andrei Melnikov" <andy.melnikovgmail.com> writes:
> > Here is an example taken from msvc.jam:
> >
> > actions compile-c-c++
> > {
> >     $(.CC) "($(<[1]:W).rsp:E="$(>[1]:W)"
-Fo"$(<[1]:W)"
> > -Yu"$(>[3]=)"
; -Fp"$(>[2]:W)" $(CC_RSPLINE))"
> > }
> >
> > It creates a file $(<[1]:W).rsp with
$(>[1]:W)" -Fo"$(<[1]:W)"
> > -Yu"$(>[3]=)"
; -Fp"$(>[2]:W)" $(CC_RSPLINE) written
inside.
> >
> > So I just want to write everything written using
()
to the log at
> > debug level 2 and higher.
> >
> > The merging of RSP and command line is
toolset-specific and I don't
> > think it will give us a lot of advantages.  I
think we should see
> > the exact picture.
>
> I agree.
>
I don't know how to implement this. I never looked inside
the bjam C sources.

---
Andrei
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
Huang/x64 - Response files prevent debugging
user name
2006-08-22 06:58:44
On Monday 21 August 2006 22:14, Andrei Melnikov wrote:
> On 21/08/06, David Abrahams <daveboost-consulting.com> wrote:
> > "Andrei Melnikov"
<andy.melnikovgmail.com> writes:
> > > Here is an example taken from msvc.jam:
> > >
> > > actions compile-c-c++
> > > {
> > >     $(.CC) "($(<[1]:W).rsp:E="$(>[1]:W)"
-Fo"$(<[1]:W)"
> > > -Yu"$(>[3]=)"
; -Fp"$(>[2]:W)" $(CC_RSPLINE))"
> > > }
> > >
> > > It creates a file $(<[1]:W).rsp with
$(>[1]:W)" -Fo"$(<[1]:W)"
> > > -Yu"$(>[3]=)"
; -Fp"$(>[2]:W)" $(CC_RSPLINE) written
inside.
> > >
> > > So I just want to write everything written
using () to the log at
> > > debug level 2 and higher.
> > >
> > > The merging of RSP and command line is
toolset-specific and I don't
> > > think it will give us a lot of advantages.  I
think we should see
> > > the exact picture.
> >
> > I agree.
>
> I don't know how to implement this. I never looked
inside the bjam C
> sources.

I use to have a partial patch to do that. I'll see if I
have it anywhere 
handy.

- Volodya

-- 
Vladimir Prus
http://vladimir_pru
s.blogspot.com
Boost.Build V2: http://boost.org/boost-
build2
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )