Re: Howto compile in debugging symbols with makepks so I can use gdb?

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



On Wed, 2009-11-11 at 09:00 -0600, David C. Rankin wrote:
> Guys,
> 
> Still chasing the keepassx problem. There are no debugging symbols in the 
> package so I used ABS to build from source, but of course there is no 
> debugging there either. What's the trick to compile so I can get a meaningful 
> gdb backtrace?
> 

in the PKGBUILD:
options=(!strip)

in the build() function on top:
export CFLAGS="-g"
export CXXFLAGS="-g"

That should compile with default optimizations and includes debug
symbols, which shouldn't get stripped before packing the package
together.



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux