[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

2245.0. "OPT_LEVEL=-E" by AOSG::FILTER (Automatic Posting Software - mail to flume::puck) Mon May 06 1996 20:14

Date Of Receipt: 	24-APR-1996 20:35:06.98
From: 	FLUME::"rrb@lccsd.sd.locus.com"
To: 	buildhelp@zk3.dec.com
CC: 	rrb@lccsd.sd.locus.com (R.R.Butte)
Subj: 	OPT_LEVEL=-E
build gurus: 	

	I'm used to doing

		build OPT_LEVEL=-E  >| build-E.out

	But in src/kernel 

		build OPT_LEVEL=-E BINARY_ "MAKE_ARGS=nfs3_vnodeops.o"

	doesn't get me the '-Everything' I'm looking for.

	-P doesn't seem to give me a .i, either.

	Anyone have a bag of tricks with this one in it?

	thanks in advance

	-Ray Butte

	rrb@zk3.dec.com

-- 
rrb@zk3.dec.com

  In this world, it matters less where a man stands
  than in what direction he is headed.  -Oliver Wendell Holmes

T.RTitleUserPersonal
Name
DateLines
2245.1Re: OPT_LEVEL=-EAOSG::FILTERAutomatic Posting Software - mail to flume::puckMon May 06 1996 20:4317
Date Of Receipt: 	29-APR-1996 12:57:01.73
From: 	HUNCH::shashi "Shashi Mangalat USG  29-Apr-1996 1250"
To: 	rrb@lccsd.sd.locus.com (R.R.Butte)
CC: 	buildhelp@zk3.dec.com
Subj: 	Re: OPT_LEVEL=-E

I am assuming you want to run the C pre-processor on nfs3_vnodeops.c.

Kernel builds do not use the makefile rules used for ./usr builds.  Here is
how you can run the C pre-processor on a kernel file:

% setenv CPP_ONLY -E; build MAKE_ARGS=nfs3_vnodeops.o BINARY_ >& nfs3_vnodeops.i

[Specifying the setenv on the same line restricts it to that one build only.]

--shashi