| Date Of Receipt: 25-AUG-1995 15:24:30.82
From: SMURF::GURU::dibble "Ben Dibble"
To: buildhelp@dec:.zko.guru
CC:
Subj: help?
Hi,
this used to work. Now no longer. Please help.
see examples at the bottom.
thanks,
Ben
>From jmcg Wed May 24 16:53:45 1995
Received: by flume.zk3.dec.com; (5.65v3.0/1.1.8.2/16Jan95-0946AM)
id AA16185; Wed, 24 May 1995 16:53:41 -0400
Date: Wed, 24 May 1995 16:53:41 -0400
From: Jim McGinness <jmcg>
Message-Id: <[email protected]>
To: dibble
Subject: Re: help turning on #define from build line?
Status: RO
Sorry, I just got the name a little bit wrong:
build _ALPHA_CCDEFS_="-DDEBUG"
is what I _should_have said. This taps into a long sequence of macro
variable expansions, but looks like it does the right thing. If it
doesn't show up on the command line, you haven't gotten the effect
you desired.
-- jmcg
>From jmf Tue May 30 17:58:23 1995
Received: by flume.zk3.dec.com; (5.65v3.0/1.1.8.2/16Jan95-0946AM)
id AA31090; Tue, 30 May 1995 17:58:16 -0400
Date: Tue, 30 May 1995 17:58:16 -0400
From: Joshua M. Friedman OSF/UNIX SDE <jmf>
Message-Id: <[email protected]>
To: dibble odehelp
Subject: Re: help turning on #define from build line?
Status: R
Ben, no _ in CARGS:
% build CARGS="-DDEBUG"
relative path: ./usr/sbin/mount.
mkdir ../../../../obj/alpha/usr
mkdir ../../../../obj/alpha/usr/sbin
mkdir ../../../../obj/alpha/usr/sbin/mount
cd ../../../../obj/alpha/usr/sbin/mount
/usr/sde/osf1/build/goldminos.bl6/tools/alpha_OSF1/alpha/acc/cc -std0 -EL -c
-DBSD44 -DMSG -DNLS -D__WCHAR_T_LEN=4 -Wf,-wchar32 -DMACH -DCMU -DOSF -Dalpha
-D__alpha__ -D__alpha -Dunix -D__unix__ -D_SHARED_LIBRARIES -O2 -Olimit 500
0 -DNFS -DDEBUG -I `genpath -I.` `genpath ` -I/usr/users/jmf/sb/goldmi
nos/export/alpha/usr/include -I/usr/sde/osf1/build/goldminos.bl6/export/alpha/us
r/include /usr/sde/osf1/build/goldminos.bl6/src/usr/sbin/mount/mount.c
===================================
on a current v3.2b supportos.nightly sb:
build BINARY_ _ALPHA_CCDEFS_="-DDEBUG" MAKE_ARGS="str_runq.o"
relative path: ./kernel.
string passed to /usr/sde/osf1/build/v32bsupportos.nightly/tools/alpha_OSF1/alph
a/hostbin/make:
make -cF _ALPHA_CCDEFS_=-DDEBUG MAKE_ARGS=str_runq.o BINARY_
cd ../../obj/alpha/kernel
cd BINARY && make -cF str_runq.o KCC=/usr/sde/osf1/build/v32bsupportos.nightly/t
ools/alpha_OSF1/alpha/acc/cc LD=/usr/sde/osf1/build/v32bsupportos.nightly/tools
/alpha_OSF1/alpha/acc/ld CPP=cpp AWK=awk AR=/usr/sde/osf1/build/v32bsupportos
.nightly/tools/alpha_OSF1/alpha/acc/ar RANLIB='/usr/sde/osf1/build/v32bsupporto
s.nightly/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/v32bsupportos.nightly/tools/alpha_OSF1/alpha/acc/cc -c -O2
-DLANGUAGE_C -G 4 -I -I. -I.. -I../include -DIDENT=BINARY -DEB66PLUS -DALPHAP
C64 -DDECAXPVME_64 -DDEC2100_C500 -DDEC2100_A500 -DDEC1000 -DDEC2100_A50 -DDECAX
PPCI_33 -DDEC21000 -DALPHAAVANTI -DLCAMUSTANG -DDEC2000_300 -DDEC3000_300 -DDEC3
000_500 -DDEC7000 -DDEC_KN20AA -DDEC4000 -DSWAPTYPE=1 -DRELEASE='"'9.0'"' -DVERS
ION='"'0'"' -DMACH -DOSF -DCOMPAT_43 -DUFS -DTRN -DESS -DESS_STUB -DKERNEL -D_KE
RNEL -D_BSD -signed -no_excpt -Wb,-static -Wco,-nofloat -Olimit 1500 -D__alpha
-Umips -UMIPS -g3 -DBINARY ../../../../src/kernel/streams/str_runq.c
Elapsed build time(hr:min:sec): 0:0:42
nor did this work:
/usr/work1/v32bn/src/kernel:46> build BINARY_ CARGS="-DDEBUG" MAKE_ARGS="str_run
q.o"
relative path: ./kernel.
string passed to /usr/sde/osf1/build/v32bsupportos.nightly/tools/alpha_OSF1/alph
a/hostbin/make:
make -cF CARGS=-DDEBUG MAKE_ARGS=str_runq.o BINARY_
cd ../../obj/alpha/kernel
cd BINARY && make -cF str_runq.o KCC=/usr/sde/osf1/build/v32bsupportos.nightly/t
ools/alpha_OSF1/alpha/acc/cc LD=/usr/sde/osf1/build/v32bsupportos.nightly/tools
/alpha_OSF1/alpha/acc/ld CPP=cpp AWK=awk AR=/usr/sde/osf1/build/v32bsupportos
.nightly/tools/alpha_OSF1/alpha/acc/ar RANLIB='/usr/sde/osf1/build/v32bsupporto
s.nightly/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/v32bsupportos.nightly/tools/alpha_OSF1/alpha/acc/cc -c -O2
-DLANGUAGE_C -G 4 -I -I. -I.. -I../include -DIDENT=BINARY -DEB66PLUS -DALPHAP
C64 -DDECAXPVME_64 -DDEC2100_C500 -DDEC2100_A500 -DDEC1000 -DDEC2100_A50 -DDECAX
PPCI_33 -DDEC21000 -DALPHAAVANTI -DLCAMUSTANG -DDEC2000_300 -DDEC3000_300 -DDEC3
000_500 -DDEC7000 -DDEC_KN20AA -DDEC4000 -DSWAPTYPE=1 -DRELEASE='"'9.0'"' -DVERS
ION='"'0'"' -DMACH -DOSF -DCOMPAT_43 -DUFS -DTRN -DESS -DESS_STUB -DKERNEL -D_KE
RNEL -D_BSD -signed -no_excpt -Wb,-static -Wco,-nofloat -Olimit 1500 -D__alpha
-Umips -UMIPS -g3 -DBINARY ../../../../src/kernel/streams/str_runq.c
Elapsed build time(hr:min:sec): 0:0:32
|