Re: How to build to debug with gdb?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux