bugGNUstep - Bugs: bug #34658, gnustep-make defaults to debug=no;...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #34658: gnustep-make defaults to debug=no; default should be debug=yes

Submitted by:  Eric Wasylishen <ericw>
Submitted on:  Wed 26 Oct 2011 01:41:05 AM UTC  
 
Category: MakefilesSeverity: 3 - Normal
Item Group: Change RequestStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Analyzed

Wed 26 Oct 2011 06:13:59 PM UTC, comment #2:

Ok, thanks for the info.

I think it would be a good idea to turn on that option by default, because in my experience, it is standard that when you install a free software library from the source tarball, it will build with debug symbols by default.

Eric Wasylishen <ericw>
Project Member
Wed 26 Oct 2011 10:47:47 AM UTC, comment #1:

This depends on how you configure gnustep-make. gnustep-make's
configure has the --enable-debug-by-default option. From the
configure documentation:

--enable-debug-by-default
Enable building with 'make debug=yes' by default. When you use
gnustep-make to build software, you have a choice of using
debug=yes or debug=no. The debug=no will use the default compiler
flags determined when gnustep-make was configured (usually -g -O2),
while debug=yes will remove the optimization flags and add a
number of debugging compiler flags. If you do not specify the
--enable-debug-by-default option, gnustep-make will default to
building with debug=no when nothing is specified. If you
specify the --enable-debug-by-default option, gnustep-make will
default to building with debug=yes instead, which can be handy if you
always want to compile software with debug=yes and want to avoid
having to type debug=yes each time you compile (an alternative
is to define the variable debug=yes in your shell). If you are
unsure, you should stick with the default and ignore this option.

So, I suppose in your case you have configured gnustep-make with
the wrong option.

Thanks

Nicola Pero <nico>
Project Member
Wed 26 Oct 2011 01:41:05 AM UTC, original submission:

on a fresh checkout and install of GNUstep, 'make' builds packages without debug info; you need to supply debug=yes to get debug information. debug=yes should be the default in my opinion.
current system is Ubuntu linux 11.10, but I've been noticing this for a while now.

Eric Wasylishen <ericw>
Project Member

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by nico (Posted a comment)
  • -unavailable- added by ericw (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 26 Oct 2011 10:48:30 AM UTCnicoOpen/ClosedOpen=>Analyzed

    Back to the top


    Powered by Savane 3.1-cleanup1