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 <[EMAIL PROTECTED]> 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.
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"