From owner-freebsd-hackers@FreeBSD.ORG Fri Sep 24 06:57:40 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 2E8F616A4CE for ; Fri, 24 Sep 2004 06:57:40 +0000 (GMT) Received: from corwin.easynet.fr (smarthost143.mail.easynet.fr [212.180.1.143]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8882643D54 for ; Fri, 24 Sep 2004 06:57:39 +0000 (GMT) (envelope-from tataz@tatooine.tataz.chchile.org) Received: from [212.180.127.72] (helo=tatooine.tataz.chchile.org) by corwin.easynet.fr with esmtp (Exim 4.34) id 1CAk1R-0002NO-BG; Fri, 24 Sep 2004 08:57:37 +0200 Received: by tatooine.tataz.chchile.org (Postfix, from userid 1000) id EBCDF40AC; Fri, 24 Sep 2004 08:56:44 +0200 (CEST) Date: Fri, 24 Sep 2004 08:56:43 +0200 From: Jeremie Le Hen To: Giorgos Keramidas Message-ID: <20040924065643.GC12440@obiwan.tataz.chchile.org> References: <20040921134707.GA1276@rocco.epita.fr> <20040924001227.GC27322@gothmog.gr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040924001227.GC27322@gothmog.gr> User-Agent: Mutt/1.5.6i X-Broken-Reverse-DNS: no host name found for IP address 212.180.127.72 cc: freebsd-hackers@freebsd.org cc: Jeremie Le Hen 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 06:57:40 -0000 > > 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. Thanks, I'm really stupid. -- Jeremie LE HEN aka TtZ jeremie.le-hen@epita.fr ttz@epita.fr Hi! I'm a .signature virus! Copy me into your ~/.signature to help me spread!