[sage-devel] Re: A purge on the gcc '-g' option is in order

2009-07-28 Thread William Stein
On Tue, Jul 28, 2009 at 8:04 PM, David Kirkby wrote: > > 2009/7/29 William Stein : >> >> On Tue, Jul 28, 2009 at 6:56 PM, Nick Alexander wrote: >>> It feels to me as though higher value of SAGE_DEBUG should do more debugging, not less.  There could be two variables: SAGE_DEBUG and S

[sage-devel] Re: A purge on the gcc '-g' option is in order

2009-07-28 Thread David Kirkby
2009/7/29 William Stein : > > On Tue, Jul 28, 2009 at 6:56 PM, Nick Alexander wrote: >> >>> It feels to me as though higher value of SAGE_DEBUG should do more >>> debugging, not less.  There could be two variables: SAGE_DEBUG and >>> SAGE_OPTIMIZE, each of which could be set to various levels... >

[sage-devel] Re: A purge on the gcc '-g' option is in order

2009-07-28 Thread William Stein
On Tue, Jul 28, 2009 at 6:56 PM, Nick Alexander wrote: > >> It feels to me as though higher value of SAGE_DEBUG should do more >> debugging, not less.  There could be two variables: SAGE_DEBUG and >> SAGE_OPTIMIZE, each of which could be set to various levels... > > +1 to names revealing intent!  

[sage-devel] Re: A purge on the gcc '-g' option is in order

2009-07-28 Thread Nick Alexander
> It feels to me as though higher value of SAGE_DEBUG should do more > debugging, not less. There could be two variables: SAGE_DEBUG and > SAGE_OPTIMIZE, each of which could be set to various levels... +1 to names revealing intent! And +1 to having debug info *on by default*. Nick --~--~---

[sage-devel] Re: A purge on the gcc '-g' option is in order

2009-07-28 Thread John H Palmieri
On Jul 28, 5:42 pm, William Stein wrote: > On Tue, Jul 28, 2009 at 4:47 PM, Robert > > > > > > Bradshaw wrote: > > > On Jul 28, 2009, at 4:16 PM, William Stein wrote: > > >> On Tue, Jul 28, 2009 at 3:56 PM, David > >> Kirkby wrote: > > >>> 2009/7/28 William Stein : > > Cool.  So your proposa

[sage-devel] Re: A purge on the gcc '-g' option is in order

2009-07-28 Thread William Stein
On Tue, Jul 28, 2009 at 4:47 PM, Robert Bradshaw wrote: > > On Jul 28, 2009, at 4:16 PM, William Stein wrote: > >> >> On Tue, Jul 28, 2009 at 3:56 PM, David >> Kirkby wrote: >>> >>> 2009/7/28 William Stein : >>> Cool.  So your proposal is basically the opposite of David Kirkby's? His was

[sage-devel] Re: A purge on the gcc '-g' option is in order

2009-07-28 Thread Robert Bradshaw
On Jul 28, 2009, at 4:16 PM, William Stein wrote: > > On Tue, Jul 28, 2009 at 3:56 PM, David > Kirkby wrote: >> >> 2009/7/28 William Stein : >> >>> Cool. So your proposal is basically the opposite of David Kirkby's? >>> His was to have "-g" nowhere by default, and yours is to have "-g" >>> eve

[sage-devel] Re: A purge on the gcc '-g' option is in order

2009-07-28 Thread William Stein
On Tue, Jul 28, 2009 at 3:56 PM, David Kirkby wrote: > > 2009/7/28 William Stein : > >> Cool.  So your proposal is basically the opposite of David Kirkby's? >> His was to have "-g" nowhere by default, and yours is to have "-g" >> everywhere possible by default.   :-) >> >> As a Sage users and deve

[sage-devel] Re: A purge on the gcc '-g' option is in order

2009-07-28 Thread David Kirkby
2009/7/28 William Stein : > Cool.  So your proposal is basically the opposite of David Kirkby's? > His was to have "-g" nowhere by default, and yours is to have "-g" > everywhere possible by default.   :-) > > As a Sage users and developer, and after hearing Robert's arguments, I > can definitely

[sage-devel] Re: A purge on the gcc '-g' option is in order

2009-07-28 Thread Peter Jeremy
On 2009-Jul-28 01:22:58 +0100, David Kirkby wrote: >I noticed that several packages build Sage with the -g option to , >which adds debugging information. This has 3 downsides > >1) The binaries are slower gcc allows '-O -g' so the binaries shouldn't be slower when gcc is used. Some other C/C++ c

[sage-devel] Re: A purge on the gcc '-g' option is in order

2009-07-28 Thread Nick Alexander
On 27-Jul-09, at 5:22 PM, David Kirkby wrote: > > I noticed that several packages build Sage with the -g option to , > which adds debugging information. This has 3 downsides > > 1) The binaries are slower > 2) The binaries are bigger > 3) Possibly takes longer to compile - I've not verified this

[sage-devel] Re: A purge on the gcc '-g' option is in order

2009-07-28 Thread Martin Albrecht
> Cool. So your proposal is basically the opposite of David Kirkby's? > His was to have "-g" nowhere by default, and yours is to have "-g" > everywhere possible by default. :-) Yes, definitely (with the above mentioned exception) Martin -- name: Martin Albrecht _pgp: http://pgp.mit.edu:1137

[sage-devel] Re: A purge on the gcc '-g' option is in order

2009-07-28 Thread William Stein
On Tue, Jul 28, 2009 at 7:56 AM, Martin Albrecht wrote: > >> Interesting.  Then SAGE_DEBUG couldn't be the default as Robert >> suggested, and it can't control adding debug symbols.  Since for the >> use case Robert and I described, people would want -O2 (or whatever >> the default is) and -ggdb.

[sage-devel] Re: A purge on the gcc '-g' option is in order

2009-07-28 Thread Martin Albrecht
> Interesting. Then SAGE_DEBUG couldn't be the default as Robert > suggested, and it can't control adding debug symbols. Since for the > use case Robert and I described, people would want -O2 (or whatever > the default is) and -ggdb. I think it shouldn't be default but -g should be default exce

[sage-devel] Re: A purge on the gcc '-g' option is in order

2009-07-28 Thread William Stein
On Tue, Jul 28, 2009 at 7:36 AM, Martin Albrecht wrote: > >> I believe the variable SAGE_DEBUG was supposed to add debugging >> support. If that is so, then it would seem to be sensible to make use >> of it and apply it in a consistent manner. > > I use SAGE_DEBUG in the Singular SPKG to force -O0

[sage-devel] Re: A purge on the gcc '-g' option is in order

2009-07-28 Thread Martin Albrecht
> I believe the variable SAGE_DEBUG was supposed to add debugging > support. If that is so, then it would seem to be sensible to make use > of it and apply it in a consistent manner. I use SAGE_DEBUG in the Singular SPKG to force -O0 and -ggdb Martin -- name: Martin Albrecht _pgp: http://pgp.m

[sage-devel] Re: A purge on the gcc '-g' option is in order

2009-07-28 Thread William Stein
On Tue, Jul 28, 2009 at 3:44 AM, Robert Bradshaw wrote: > > On Jul 27, 2009, at 5:22 PM, David Kirkby wrote: > >> >> I noticed that several packages build Sage with the -g option to , >> which adds debugging information. This has 3 downsides >> >> 1) The binaries are slower >> 2) The binaries are

[sage-devel] Re: A purge on the gcc '-g' option is in order

2009-07-28 Thread Robert Bradshaw
On Jul 28, 2009, at 5:44 AM, David Kirkby wrote: > 2009/7/28 Robert Bradshaw : >> >> On Jul 27, 2009, at 5:22 PM, David Kirkby wrote: >> >>> >>> I noticed that several packages build Sage with the -g option to , >>> which adds debugging information. This has 3 downsides >>> >>> 1) The binaries ar

[sage-devel] Re: A purge on the gcc '-g' option is in order

2009-07-28 Thread David Kirkby
2009/7/28 Robert Bradshaw : > > On Jul 27, 2009, at 5:22 PM, David Kirkby wrote: > >> >> I noticed that several packages build Sage with the -g option to , >> which adds debugging information. This has 3 downsides >> >> 1) The binaries are slower >> 2) The binaries are bigger >> 3) Possibly takes

[sage-devel] Re: A purge on the gcc '-g' option is in order

2009-07-28 Thread Robert Bradshaw
On Jul 27, 2009, at 5:22 PM, David Kirkby wrote: > > I noticed that several packages build Sage with the -g option to , > which adds debugging information. This has 3 downsides > > 1) The binaries are slower > 2) The binaries are bigger > 3) Possibly takes longer to compile - I've not verified th

[sage-devel] Re: A purge on the gcc '-g' option is in order

2009-07-28 Thread Burcin Erocal
On Mon, 27 Jul 2009 17:30:11 -0700 William Stein wrote: > > On Mon, Jul 27, 2009 at 5:22 PM, David > Kirkby wrote: > > > > I noticed that several packages build Sage with the -g option to , > > which adds debugging information. This has 3 downsides > > > > 1) The binaries are slower > > 2) The

[sage-devel] Re: A purge on the gcc '-g' option is in order

2009-07-27 Thread William Stein
On Mon, Jul 27, 2009 at 5:22 PM, David Kirkby wrote: > > I noticed that several packages build Sage with the -g option to , > which adds debugging information. This has 3 downsides > > 1) The binaries are slower > 2) The binaries are bigger > 3) Possibly takes longer to compile - I've not verified