[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

794.0. "Setting options on the build command line" by SMURF::FILTER (Automatic Posting Software - mail to flume::puck) Tue Jun 07 1994 18:35

Date Of Receipt: 	 7-JUN-1994 16:52:51.45
From: 	FLAMBE::"[email protected]"
To: 	[email protected]
CC: 	
Subj: 	Setting options on the build command line

Hi,

Can anyone tell me where/how I can reset makefile options for the compiler
from a build line?  I would like to override the -g3 and make it -g2.  Using
the following build line:

build MAKE_ARGS="obj1.o obj2.o" BINARY_

Thanx!
-FredC

T.RTitleUserPersonal
Name
DateLines
794.1Re: Setting options on the build command lineSMURF::FILTERAutomatic Posting Software - mail to flume::puckTue Jun 07 1994 19:378
Date Of Receipt: 	 7-JUN-1994 17:44:31.91
From: 	FLUME::jmcg "Jim McGinness"
To: 	[email protected], [email protected]
CC: 	
Subj: 	Re:  Setting options on the build command line

build BINARY_ OPT_LEVEL="-g2" MAKE_ARGS="obj1.o obj2.o"

794.2Re: Setting options on the build command lineSMURF::FILTERAutomatic Posting Software - mail to flume::puckWed Jun 08 1994 00:4311
Date Of Receipt: 	 7-JUN-1994 23:08:52.91
From: 	WASTED::"[email protected]" "07-Jun-1994 2306"
To: 	Fred Cassirer <[email protected]>
CC: 	[email protected], [email protected]
Subj: 	Re: Setting options on the build command line
try this: 	

build MAKE_ARGS="CDEBUGOPTS=-g2 obj1.o obj2.o" BINARY_

-brian

794.3Re: Setting options on the build command lineSMURF::FILTERAutomatic Posting Software - mail to flume::puckWed Jun 08 1994 13:1219
Date Of Receipt: 	 8-JUN-1994 11:40:10.30
From: 	FLUME::jmcg "Jim McGinness"
To: 	[email protected]
CC: 	buildhelp@DEC:.zko.flume
Subj: 	Re: Setting options on the build command line

>Where can I find what arguments are placed on the command line by default?
>Is there a file in the sandbox someplace or is it part of the tools environment?

The default defaults are set in /usr/lib/makefiles/standard.mk in
the backing tree, but these can be overridden by environment variables
set up by the rc_files.  The tools environment doesn't monkey with
the arguments placed on the command line, but they have their own
defaults built in...the tools sometimes run ahead of the documentation
when new flags are being introduced, but otherwise the tools are
the same as what we're intending to ship with the product.

	-- jmcg