Cannot login to root account on FreeBSD 7.0

mdh mdh_lists at yahoo.com
Fri Oct 31 09:36:19 PDT 2008


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 at 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.



      


More information about the freebsd-questions mailing list