Roland Mainz wrote:
James Carlson wrote:
Roland Mainz writes:
So, create your own project-related environment variable and use that
in the makefiles.
Umpf... that's exactly what I'd like to avoid: Create yet another
project-specific debugging variable. IMHO it may be nice to have one
switch for all projects within OS/Net...
[snip]
I haven't really encountered a need for build-time enabling of special
debug features that have a more substantial or system-wide support
infrastructure than that. I guess your mileage will vary, so if you
see an obvious gap here, feel free to propose something more concrete.
AFAIK the "obvious gap" is a lack of a global switch which says "compile
everything with -g". I've spend a couple of days now with finding a
I thought that specifiying $COPTFLAG='-g' in your environment file got
you that ?
It is possible that there are makefiles that have explicit assignments
to COPTFLAG (ie COPTFLAG= rather than COPTFLAG+=).
This should work, I'm pretty sure I've used it in the past. I'm also
pretty sure though that at one point (maybe still true) there were some
libraries that didn't link when -g was specified.
--
Darren J Moffat
_______________________________________________
opensolaris-code mailing list
opensolaris-code@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code