Date: Fri, 31 Oct 2008 09:36:17 -0700 (PDT) From: mdh <mdh_lists@yahoo.com> To: freebsd-questions@freebsd.org Subject: Re: Cannot login to root account on FreeBSD 7.0 Message-ID: <256922.36399.qm@web56802.mail.re3.yahoo.com> In-Reply-To: <200810311725.21619.fbsd.questions@rachie.is-a-geek.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Right - sorry, my bad on that one. But do substitute -ggdb for your -g, as that'll give us GDB-specific debugging symbols. - mdh --- On Fri, 10/31/08, Mel <fbsd.questions@rachie.is-a-geek.net> wrote: > > Build it for debugging. cd to the directory > /usr/src/bin/csh, and run the > > following commands: `CFLAGS='-ggdb' make`, > then run `make install`. > > > No, we don't do that. We run: > make DEBUG_FLAGS=-g clean all install > > because: > a) setting CFLAGS omits CFLAGS from the bsd build system > and that's not > advised > b) setting DEBUG_FLAGS disables strip on install (strip > strips the debug > symbols) > > -- > Mel > > Problem with today's modular software: they start with > the modules > and never get to the software part.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?256922.36399.qm>