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 |
Date Of Receipt: 24-MAY-1995 14:19:52.37 From: SMURF::GURU::dibble "Ben Dibble" To: odehelp@dec:.zko.guru CC: Subj: help turning on #define from build line? Hi, I would like to be able to turn on a #define'd variable from the build command line. I have tried the following without success: build C_ARGS="-DDEBUG" relative path: ./usr/sbin/mount. cd ../../../../obj/alpha/usr/sbin/mount /usr/sde/osf1/build/v30supportos.nightly/tools/alpha_OSF1/alpha/acc/cc -std0 - EL -call_shared -tr -h`genloc -d /export/alpha/usr/lib/cmplrs/cc/crt0.o` -B -O2 `genpath ` -L/usr/work1/osf_30n/export/alpha/usr/shlib -L/usr/sde/osf1/bui ld/v30supportos.nightly/export/alpha/usr/shlib -L/usr/work1/osf_30n/export/alph a/usr/ccs/lib -L/usr/sde/osf1/build/v30supportos.nightly/export/alpha/usr/ccs/li b -o mount.X mount.o mountxcdr.o -lcdrom -lrpcsvc -lfilsys mv mount.X mount Note that -DDEBUG doesn't show up anywhere. The following works, but I'm not sure I'm getting what I want. mogur_P3.2:140> build OPT_LEVEL="-DDEBUG" relative path: ./usr/sbin/mount. cd ../../../../obj/alpha/usr/sbin/mount /usr/sde/osf1/build/v30supportos.nightly/tools/alpha_OSF1/alpha/acc/cc -std0 - EL -call_shared -tr -h`genloc -d /export/alpha/usr/lib/cmplrs/cc/crt0.o` -B -DDE BUG `genpath ` -L/usr/work1/osf_30n/export/alpha/usr/shlib -L/usr/sde/osf1 /build/v30supportos.nightly/export/alpha/usr/shlib -L/usr/work1/osf_30n/export/ alpha/usr/ccs/lib -L/usr/sde/osf1/build/v30supportos.nightly/export/alpha/usr/cc s/lib -o mount.X mount.o mountxcdr.o -lcdrom -lrpcsvc -lfilsys mv mount.X mount note that -DDEBUG does show up in the information. Any help appreciated. Ben
T.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
1485.1 | Re: help turning on #define from build line? | AOSG::FILTER | Automatic Posting Software - mail to flume::puck | Tue May 30 1995 19:38 | 21 |
Date Of Receipt: 30-MAY-1995 17:59:50.61 From: SMURF::FLUME::jmf "Joshua M. Friedman OSF/UNIX SDE" To: dibble odehelp CC: Subj: Re: help turning on #define from build line? 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 |