[Search for users]
[Overall Top Noters]
[List of all Conferences]
[Download this site]
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 |
430.0. "overriding default build tools" by SMURF::FILTER (Automatic Posting Software - mail to flume::puck) Fri Nov 12 1993 16:40
Date Of Receipt: 11-NOV-1993 09:52:16.65
From: WASTED::jmf "Joshua M. Friedman ULTRIX SDE 11-Nov-1993 0952"
To: [email protected]
CC: buildhelp@wasted:zko.dec
Subj: overriding default build tools
Chris, normally questions like this should go to "buildhelp", which I cc'd.
Someone else from buildhelp can see if my list below needs any additions...
The supported way to accomplish this is as follows:
a) don't touch standard.mk or anything in usr/lib/makefiles
b) in your own sandbox's rc_files directory, create the file 'custom' as
follows (the file custom will not be affected by resb, though local & shared
will be):
include ./local
replace setenv COMP_HOST_ROOT /
replace setenv COMP_TARGET_ROOT /
look through the output of "sbinfo" or "printenv" to see if you want to
reset other explicit settings which exist, like:
MIGCOM=/usr/sde/osf1/build/agosminor/tools/alpha_OSF1/alpha/hostbin/migcom
LEXER=/usr/sde/osf1/build/agosminor/tools/alpha_OSF1/alpha/lib/ncform
YACCPAR=/usr/sde/osf1/build/agosminor/tools/alpha_OSF1/alpha/lib/yaccpar
Also, I'm not sure about the exact function of some of the following, but they
may need resetting too:
COFF_GCC_EXEC_PREFIX=/usr/sde/osf1/build/agosminor/tools/alpha_OSF1/alpha/gcc/
MACHO_GCC_EXEC_PREFIX=/usr/sde/osf1/build/agosminor/tools/alpha_OSF1/alpha/macho/
A_OUT_GCC_EXEC_PREFIX=/usr/sde/osf1/build/agosminor/tools/alpha_OSF1/alpha/gcc/
COFF_ACC_EXEC_PREFIX=/usr/sde/osf1/build/agosminor/tools/alpha_OSF1/alpha/acc/
COFF_MCC_EXEC_PREFIX=/usr/sde/osf1/build/agosminor/tools/alpha_OSF1/alpha/mcc/
TARGET_EXEC_PREFIX=/usr/sde/osf1/build/agosminor/tools/alpha_OSF1/alpha/hostbin/
Any other local tools you want you can put in your own sandbox's tools
directory, which starts out empty. You'll notice this comes first in your
path, for eg, in my osmin sandbox backed by agosminor, the hostbin, bin,
and acc directories in my sandbox come before those three in the backing
tree:
PATH=/usr/users/jmf/sb/osmin/tools/alpha_OSF1/alpha/hostbin:\
/usr/users/jmf/sb/osmin/tools/alpha_OSF1/alpha/bin:\
/usr/users/jmf/sb/osmin/tools/alpha_OSF1/alpha/acc:\
/usr/sde/osf1/build/agosminor/tools/alpha_OSF1/alpha/hostbin:\
/usr/sde/osf1/build/agosminor/tools/alpha_OSF1/alpha/bin:\
/usr/sde/osf1/build/agosminor/tools/alpha_OSF1/alpha/acc:\
/usr/sde/ode2.0/tools/alpha_ace/bin:\
/usr/ucb:/bin:/usr/bin:/sbin:/usr/sbin
-josh
------- Forwarded Message
Return-Path: [email protected]
Delivery-Date: Thu, 11 Nov 93 09:03:12 -0500
Return-Path: [email protected]
Received: from alpha.zk3.dec.com by flambe.zk3.dec.com; (5.65/1.1.8.2/01Nov93-1038AM)
id AA25252; Thu, 11 Nov 1993 09:03:10 -0500
Received: by alpha.zk3.dec.com; id AA12474; Thu, 11 Nov 1993 09:03:09 -0500
Received: by hackomatic.zk3.dec.com; id AA13002; Thu, 11 Nov 1993 09:03:09 -0500
Message-Id: <[email protected]>
To: reng
Cc: [email protected]
Subject: Quick question....
Reply-To: [email protected]
Date: Thu, 11 Nov 93 09:03:08 -0500
From: "Christopher Fillmore-Gillett, USG/WHAT Compilers Group" <[email protected]>
X-Mts: smtp
Status: RO
If I want to modify my build environment to do a build
such that it always uses my local tools - including
my local driver, what do I have to change in standard.mk?
I'd like to do some builds where instead of having:
/usr/sde/osf1/build/agosminor/tools/alpha_OSF1/alpha/acc/cc
I simply get:
cc
Any help would be appreciated.
Thanks!
Chris
------- End of Forwarded Message
T.R | Title | User | Personal Name | Date | Lines
|
---|