STRIP in /usr/share/mk/

Jeremie Le Hen jeremie.le-hen at epita.fr
Thu Sep 23 23:57:40 PDT 2004


> > 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 at epita.fr
                                                                 ttz at epita.fr
Hi! I'm a .signature virus! Copy me into your ~/.signature to help me spread!


More information about the freebsd-hackers mailing list