From: "SZEDER Gábor" <szeder.dev@gmail.com>
To: Giuseppe Crino' <giuscri@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: How to build to debug with gdb?
Date: Tue, 27 Aug 2019 20:36:40 +0200 [thread overview]
Message-ID: <20190827183640.GC8571@szeder.dev> (raw)
In-Reply-To: <20190827162725.GA29263@instance-template-2.europe-west6-a.c.vaulted-journal-250706.internal>
On Tue, Aug 27, 2019 at 04:27:25PM +0000, Giuseppe Crino' wrote:
> Hello, to debug some issues I built and installed git via
>
> $ make prefix=/usr/local DEVELOPER=1 CFLAGS="-O0 -g"
> $ sudo make install
What do the output of these two command look like? After the first
command build Git with the custom prefix and CFLAGS, the second
command is supposed to start with printing "* new build flags" and
then to build Git again with the default prefix and CFLAGS.
> What am I missing?
Just a couple hundred lines worth of build output :)
Try using the same build flags for the install, i.e.:
make prefix=/usr/local DEVELOPER=1 CFLAGS="-O0 -g" install
next prev parent reply other threads:[~2019-08-27 18:36 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-27 16:27 How to build to debug with gdb? Giuseppe Crino'
2019-08-27 17:55 ` Matheus Tavares Bernardino
2019-08-27 18:07 ` Randall S. Becker
2019-08-27 18:34 ` Johannes Sixt
2019-08-27 18:36 ` SZEDER Gábor [this message]
2019-08-28 8:15 ` Giuseppe Crino'
2019-08-28 10:32 ` SZEDER Gábor
2019-08-28 11:00 ` Giuseppe Crino'
2019-08-28 12:43 ` Giuseppe Crino'
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190827183640.GC8571@szeder.dev \
--to=szeder.dev@gmail.com \
--cc=git@vger.kernel.org \
--cc=giuscri@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox