Re: STRIP in /usr/share/mk/
From: Kris Kennaway (kris_at_obsecurity.org)
Date: 09/24/04
- Previous message: Daniel O'Connor: "Re: Crystalfontz LCD display from kernel?"
- In reply to: Jeremie Le Hen: "STRIP in /usr/share/mk/"
- Next in thread: Giorgos Keramidas: "Re: STRIP in /usr/share/mk/"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 23 Sep 2004 17:02:51 -0700 To: Jeremie Le Hen <jeremie.le-hen@epita.fr>
On Tue, Sep 21, 2004 at 03:47:07PM +0200, Jeremie Le Hen wrote:
> Hi,
>
> while playing around ifconfig.c, I needed to use gdb(1) on the generated
> binary :
>
> z6po:ifconfig# make clean ; make DEBUG_FLAGS=-ggdb && make install
> [...]
> install -s -o root -g wheel -m 555 ifconfig /sbin
> install -o root -g wheel -m 444 ifconfig.8.gz /usr/share/man/man8
>
>
> As you can see, although I compiled with DEBUG_FLAGS, the binary is
> stripped on install(1) so I cannot easily use gdb(1) on it.
> I looked at the Makefile which includes bsd.prog.mk :
What's wrong with 'make DEBUG_FLAGS=-ggdb all install'?
Kris
- application/pgp-signature attachment: stored
- Previous message: Daniel O'Connor: "Re: Crystalfontz LCD display from kernel?"
- In reply to: Jeremie Le Hen: "STRIP in /usr/share/mk/"
- Next in thread: Giorgos Keramidas: "Re: STRIP in /usr/share/mk/"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]