-
Notifications
You must be signed in to change notification settings - Fork 571
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Setting -g3 is not trivial #12067
Comments
From @ruzCreated by ruz@new-mac.localWanted to compile perl with -g3 flag to enable macros expanding =item -DEBUGGING=-g =item -Doptimize=-g Adds -g to optimize, but does not set -DDEBUGGING. (Note: Your system may actually require something like cc -g2. This note made me believe that I can set -DEBUGGING=-g3 and it will work, Final variant that worked for me: -Doptimize='-O3 -g3' -DEBUGGING So it has two disadvantages: 1) you have to know or struggle 2) have to Perl Info
|
From @TuxOn Thu, 19 Apr 2012 03:56:35 -0700, Ruslan Zakirov (via RT)
I never thought of additional digits when allowing that. I could extend : Check what DEBUGGING is required from the command line
-- |
The RT System itself - Status changed from 'new' to 'open' |
From @LeontOn Sun, Apr 22, 2012 at 12:05 PM, H.Merijn Brand <h.m.brand@xs4all.nl> wrote:
If you do that, don't forget to allow -ggdb3 and similar too too. Leon |
From @nwc10On Mon, Apr 23, 2012 at 01:39:49PM +0200, Leon Timmermans wrote:
Seems sane to me. At least, I can't think of anything it might be confused Is there a "list" of "similar too"? Or do we assume that anything (ie is there a counter-example of a compiler flag starting -g that isn't Nicholas Clark |
From ruz@bestpractical.comOn Tue, Apr 24, 2012 at 15:22, Nicholas Clark <nick@ccl4.org> wrote:
I don't think so, but as I recall it's possible that you need May be the following is better: -Aoptimize=-g3 -DEBUGGING It probably works and you don't have to repeate -O3 flag in optimize.
-- |
Migrated from rt.perl.org#112536 (status was 'open')
Searchable as RT112536$
The text was updated successfully, but these errors were encountered: