[Search for users]
[Overall Top Noters]
[List of all Conferences]
[Download this site]
| Title: | USG buildhelp questions/answers | 
|  | 
| Moderator: | SMURF::FILTER | 
|  | 
| Created: | Mon Apr 26 1993 | 
| Last Modified: | Mon Jan 20 1997 | 
| Last Successful Update: | Fri Jun 06 1997 | 
| Number of topics: | 2763 | 
| Total number of notes: | 5802 | 
2526.0. "can t get -DDEBUG passed to the compiler." by AOSG::FILTER (Automatic Posting Software - mail to flume::puck) Fri Aug 30 1996 17:52
Date Of Receipt: 	30-AUG-1996 17:05:43.01
From: 	HUNCH::"[email protected]" "Bruce Lutz USG"
To: 	[email protected]
CC: 	
Subj: 	can't get -DDEBUG passed to the compiler.
I want to compile a module named pr.o with -DDEBUG and I am having
trouble. Here is what I tried:
build MAKE_ARGS=pr.o CARGS=-DDEBUG C_ARGS=-DDEBUG CFLAGS=-DDEBUG BINARY_
relative path: ./kernel.
string passed to
/usr/sde/osf1/build/ptos.bl12/tools/alpha_OSF1/alpha/hostbin/make:
   make -cF MAKE_ARGS=pr.o CARGS=-DDEBUG C_ARGS=-DDEBUG CFLAGS=-DDEBUG
BINARY_ 
cd ../../obj/alpha/kernel
cd BINARY && make -cF pr.o
KCC=/usr/sde/osf1/build/ptos.bl12/tools/alpha_OSF1/alpha/acc/cc 
LD=/usr/sde/osf1/build/ptos.bl12/tools/alpha_OSF1/alpha/acc/ld  CPP=cpp 
AWK=awk  AR=/usr/sde/osf1/build/ptos.bl12/tools/alpha_OSF1/alpha/acc/ar 
RANLIB='/usr/sde/osf1/build/ptos.bl12/tools/alpha_OSF1/alpha/acc/ar ts' 
SHELL=sh  SED=sed  SORT=sort  ECHO=echo  KSH=ksh  EGREP=egrep 
GREP=grep  LINT=lint CONFIG=BINARY 
/usr/sde/osf1/build/ptos.bl12/tools/alpha_OSF1/alpha/acc/cc  -c -O2  
-DLANGUAGE_C -g1 -G 4 -I -I. -I.. -I../include -DIDENT=BINARY -DMACH
-DOSF -DCOMPAT_43 -DUFS -DTRN -DESS -DESS_STUB -DKERNEL -D_KERNEL -D_BSD
-DBINARY -signed -Wg,-w2 -compress  -no_excpt -Wg,-unroll,1 -Wb,-static
-Wco,-nofloat -Olimit 3000 -D__alpha -Umips -UMIPS -g3
../../../../src/kernel/io/dec/presto/pr.c
Elapsed build time(hr:min:sec): 0:1:30
| T.R | Title | User | Personal Name
 | Date | Lines | 
|---|
| 2526.1 | Re: can t get -DDEBUG passed to the compiler. | AOSG::FILTER | Automatic Posting Software - mail to flume::puck | Tue Sep 03 1996 10:01 | 13 | 
|  | Date Of Receipt: 	 3-SEP-1996 09:54:34.71
From: 	HUNCH::shashi "Shashi Mangalat USG  03-Sep-1996 0952"
To: 	BRUCE LUTZ USG <[email protected]>
CC: 	[email protected]
Subj: 	Re: can't get -DDEBUG passed to the compiler.
Try this: 	
	build MAKE_ARGS="pr.o CDEBUGOPTS=-DDEBUG" BINARY_
Note the quotes in the MAKE_ARGS.
--shashi
 |