From owner-freebsd-hackers@FreeBSD.ORG Fri Sep 24 00:12:38 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2525B16A4CE for ; Fri, 24 Sep 2004 00:12:38 +0000 (GMT) Received: from rosebud.otenet.gr (rosebud.otenet.gr [195.170.0.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id 159D343D2F for ; Fri, 24 Sep 2004 00:12:37 +0000 (GMT) (envelope-from keramida@linux.gr) Received: from gothmog.gr (patr530-a179.otenet.gr [212.205.215.179]) i8O0CVgg019946; Fri, 24 Sep 2004 03:12:32 +0300 Received: from gothmog.gr (gothmog [127.0.0.1]) by gothmog.gr (8.13.1/8.13.1) with ESMTP id i8O0CV5k027719; Fri, 24 Sep 2004 03:12:31 +0300 (EEST) (envelope-from keramida@linux.gr) Received: (from giorgos@localhost) by gothmog.gr (8.13.1/8.13.1/Submit) id i8O0CSIR027718; Fri, 24 Sep 2004 03:12:28 +0300 (EEST) (envelope-from keramida@linux.gr) Date: Fri, 24 Sep 2004 03:12:28 +0300 From: Giorgos Keramidas To: Jeremie Le Hen Message-ID: <20040924001227.GC27322@gothmog.gr> References: <20040921134707.GA1276@rocco.epita.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040921134707.GA1276@rocco.epita.fr> cc: freebsd-hackers@freebsd.org Subject: Re: STRIP in /usr/share/mk/ X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Sep 2004 00:12:38 -0000 On 2004-09-21 15:47, 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 DEBUG_FLAGS isn't set in the second invocation of make. Try either passing both the "all" and "install" targets to the same make instance or defining DEBUG_FLAGS both times: # env DEBUG_FLAGS="-ggdb" make clean all install # make DEBUG_FLAGS="-ggdb" clean all install # make clean && make DEBUG_FLAGS="-ggdb" && make DEBUG_FLAGS="-ggdb" install Pick one of the above. They should all work as expected.