[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference smurf::buildhelp

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

1398.0. "Re: HELP! Trying to compile with -g" by AOSG::FILTER (Automatic Posting Software - mail to flume::puck) Tue Apr 18 1995 17:26

Date Of Receipt: 	11-APR-1995 13:55:10.83
From: 	SMURF::WASTED::"[email protected]" "11-Apr-1995 1353"
To: 	Craig Peterson USG <[email protected]>
CC: 	[email protected]
Subj: 	Re: HELP! Trying to compile with -g
Try: 	

build OPT_LEVEL="-g" BINARY_ MAKE_ARGS="pq.o"



	-Grant


| I really need a quick answer as I'm off-site
| trying to debug a CLD.
| 
| I'm trying to get a module to compile with the -g option.  What
| am I doing wrong?
| 
| + build BINARY_ OPT_LEVEL=-g MAKE_ARGS=pq.o
| relative path: ./kernel.
| cd ../../obj/alpha/kernel
| cd BINARY && make -cF pq.o KCC=/usr/sde/osf1/build/goldos/tools/alpha_OSF1/al
pha
| /acc/cc  LD=/usr/sde/osf1/build/goldos/tools/alpha_OSF1/alpha/acc/ld  CPP=cpp
  A
| WK=awk  AR=/usr/sde/osf1/build/goldos/tools/alpha_OSF1/alpha/acc/ar  RANLIB='
/us
| r/sde/osf1/build/goldos/tools/alpha_OSF1/alpha/acc/ar ts'  SHELL=sh  SED=sed 
 SO
| RT=sort  ECHO=echo  KSH=ksh  EGREP=egrep  GREP=grep  LINT=lint CONFIG=BINARY 
| 
| /usr/sde/osf1/build/goldos/tools/alpha_OSF1/alpha/acc/cc  -c -O0   -DLANGUAGE
_C 
|  -G 4 -I -I. -I.. -I../include -DIDENT=BINARY -DDEC2100_A500 -DDEC2100_A50 -D
DEC
| 2000_300 -DDEC3000_300 -DDEC3000_500 -DDEC7000 -DDEC4000 -DSWAPTYPE=1 -DRELEA
SE=
| NEL -D_BSD -signed  -no_excpt -Wb,-static -Wco,-nofloat -Olimit 1500 -D__alph
a -
| Umips -UMIPS  -DBINARY ../../../../src/kernel/io/dec/ws/pq.c
| 
| 
| Thanks!
| 
| Craig.
| 


T.RTitleUserPersonal
Name
DateLines
1398.1Re: HELP! Trying to compile with -gAOSG::FILTERAutomatic Posting Software - mail to flume::puckTue Apr 18 1995 17:2830
Date Of Receipt: 	11-APR-1995 14:24:52.24
From: 	SMURF::FLUME::johnf "John Flanagan USG Test Johnf Tools Group  11-Apr-1995 1423"
To: 	Craig Peterson USG <craig@DEC:.zko.flume>
CC: 	[email protected], [email protected], johnf@DEC:.zko.flume
Subj: 	Re: HELP! Trying to compile with -g

Craig,

Try this:


setenv CPP_ONLY "-g"

build BINARY_ MAKE_ARGS=pq.o





 ______________________________________________________________________

 John Flanagan	 		enet:    [email protected]	
 MS: ZKO3-3/W20			decnet:  flambe::johnf
 USG Release Engineering		 (603) 881-1719
 110 Spitbrook Road 			 (DTN) 381-1719
 Nashua, NH  
 ______________________________________________________________________



1398.2HELP! Trying to compile with -gAOSG::FILTERAutomatic Posting Software - mail to flume::puckTue Apr 18 1995 17:3142
Date Of Receipt: 	11-APR-1995 14:51:41.58
From: 	SMURF::WASTED::craig "Craig Peterson USG"
To: 	johnf@DEC:.zko.wasted
CC: 	[email protected], [email protected], johnf@DEC:.zko.wasted
Subj: 	HELP! Trying to compile with -g

Tah dah!  You did it John...  Now it runs cc -g -c -O0  At least
there's a -g in there!  Hopefully that'll do the trick!

Thanks,

Craig.

   X-Mailer: exmh version 1.5.3 12/28/94
   Cc: [email protected], [email protected], johnf
   Mime-Version: 1.0
   Content-Type: text/plain; charset="us-ascii"
   Date: Tue, 11 Apr 95 14:23:27 -0400
   From: John Flanagan - UNIX Systems Group <johnf>

   Craig,

   Try this:


   setenv CPP_ONLY "-g"

   build BINARY_ MAKE_ARGS=pq.o





    ______________________________________________________________________

    John Flanagan	 		enet:    [email protected]	
    MS: ZKO3-3/W20			decnet:  flambe::johnf
    USG Release Engineering		 (603) 881-1719
    110 Spitbrook Road 			 (DTN) 381-1719
    Nashua, NH  
    ______________________________________________________________________