On 11/24/06, Xiao-Hai Ivan Shi <[EMAIL PROTECTED]> wrote:
I want to build a command via "make" in source tree, but by default, it seems that it can not build a version with debug info. Is there a easy way to build it via "make" in cmd subdir.
Without specifics, I can't help you much. How did you set up your environment. If you run /opt/onbld/bin/bldenv -d <env. file> then you should get a DEBUG environment i.e. -DDEBUG will be defined on the compiler command line. Hence any code bracketed by #ifdef DEBUG/#endif will be compiled in. Paul -- Paul Durrant http://www.linkedin.com/in/pdurrant _______________________________________________ opensolaris-code mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/opensolaris-code
