Date: Fri, 24 Sep 2004 08:56:43 +0200 From: Jeremie Le Hen <jeremie.le-hen@epita.fr> To: Giorgos Keramidas <keramida@linux.gr> Cc: Jeremie Le Hen <jeremie.le-hen@epita.fr> Subject: Re: STRIP in /usr/share/mk/ Message-ID: <20040924065643.GC12440@obiwan.tataz.chchile.org> In-Reply-To: <20040924001227.GC27322@gothmog.gr> References: <20040921134707.GA1276@rocco.epita.fr> <20040924001227.GC27322@gothmog.gr>
next in thread | previous in thread | raw e-mail | index | archive | help
> > 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!
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040924065643.GC12440>
