Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...
|
Re: Re: How to make in cmd/usr.sbin to open debug switch: msg#00183
|
Subject: |
Re: Re: How to make in cmd/usr.sbin to open debug switch |
Jürgen Keil 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.
I'm using something like this (example: recompile "format" utility
with debug info) :
% bldenv opensolaris.sh
% cd usr/src/cmd/format/
% dmake clean
% grep -- -O ../../Makefile*
../../Makefile.master:i386_COPTFLAG= -O
../../Makefile.master:sparc_CCOPTFLAG= -O
../../Makefile.master:sparcv9_CCOPTFLAG= -O
../../Makefile.master:i386_CCOPTFLAG= -O
../../Makefile.master:amd64_CCOPTFLAG= -O
% dmake i386_COPTFLAG=-g
You can just set COPTFLAG=-g you don't need to do the lower level arch
specific one.
--
Darren J Moffat
|
| |