Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: Sean.Levy@cs.cmu.edu
Subject: dec fuse on the alpha osf/1
Date: Mon,  2 Aug 1993 09:21:40 -0400	[thread overview]
Message-ID: <4gLFHYK00hMdMAyEtR@cs.cmu.edu> (raw)
In-Reply-To: EgJjg6i00hMd899mkq@cs.cmu.edu

[I posted this on comp.sys.dec almost a week ago and have gotten no
response, so I'm trying here -- hope this is reasonably relevant.  I got
a single response, which was a request from another user for me to pass
along anything I found out :-( --S] 
------------------------------ 
I have what should be a very simple question, which the fuse 
documentation has not yet answered for me (in what follows, I am 
simplifying a great deal in order to get the point across -- this is a 
multi-developer, multi-platform project with tens of thousands (soon to 
be hundreds of thousands) of lines of code right now, and it is growing 
very quickly, so things get a little hairy...). 

We use CVS and GNU make for our development work, which happens 
primarily on alphas and sparcs, but also pmaxen and rs6k's (and any 
other box that industry gives us :-).  First off, the version of GNU 
make distributed by DEC with FUSE calls itself "3.58-Free" (what does 
the "-Free" mean?), whereas the version we use is 3.63.  That aside, we 
have the following setup: all major chunks of our software are separate 
CVS repositories (if you don't know what this is, go get CVS from your 
nearest archive site -- really, really cool stuff).  Each repository has 
a "config" module which contains all of the GNU make magic for the 
repository, consiting of (a) common makefiles for certain classes of 
source code directories (e.g. Makefile.lib for a directory with source 
for a library, Makefile.bin for one with a binary, etc etc etc), (b) 
template "leaf" makefiles, which include one or more of the files in the 
(a) category after setting some parameters and (c) platform- and/or 
developer-specific makefiles containing parameter settings and tweaks. 
In addition, there is usually one "global" makefile, which all other 
makefiles "inherit", that sets the values of various macros 
appropriately for operating 
system/hardware/related-software-version/whatever combinations.  Also 
there are some compiler-specific makefiles that set things up for 
specific combinations of compiler/os/hw that are known to be bad juju. 

What it all boils down to is that there is a single make macro called 
SOURCE_ROOT which points to the root of the source tree; all of the 
config magic always lives in $(SOURCE_ROOT)/config.  We have scripts 
that figure out what SOURCE_ROOT should be for you based on some 
preferences you set somewhere else, so that you say 
	% mk whatever 
and good things happen.  This is really a glorified way of saying 
	% make SOURCE_ROOT=... whatever 
(well, not quite, but fair enough for now). 

Problem: I cannot figure out how to tell fuse to say 
	make SOURCE_ROOT=... 
or, at least the much less prefered 
	make -e 
and do a setenv SOURCE_ROOT when it does its various call graph etc etc 
munging, which means that it cannot figure out where nearly all of my .h 
files live, since we do all of that with -I via things set in our 
makefiles.  I really would prefer NOT to use -e, as it can cause other 
nasty things to happen, but I might settle for it if I could get it to 
work.  As it is now, the xref db tool or whatever it's called spews out 
scads of errors about almost all of our includes (of course, since they 
are "installed" in a per-development-area hierarchy separate from the 
working source code tree, which the makefiles automatically find). 
Also, it cannot find any but the leaf makefiles (since SOURCE_ROOT is 
always ""), which is very annoying. 

Besides this, I have some major problems with the rest of fuse, and must 
say I'm pretty disappointed with what I've seen, but since I can't even 
get it to trip past the basic stuff (like finding my .h files), I don't 
feel I've really seen what it can do.  Some more questions that come to 
mind are: 

* Can it work with CVS? 
* Can it be made to grok my .dbxinit file so that it automatically finds 
my source code like running dbx from the command line does now? (dbx 
seems to find the stuff, but fuse doesn't) 
* Can it be made to work when you do a set prompt= in .dbxinit? (I 
actually have very good reasons for doing this, believe it or not :-) 
* Is the version of dbx that comes with it any better than the normal 
one, which quite often can't find it's own _etext with two thumbs and a 
map, much less the right place to stop the program? 
* Can I have it fire up my versions of emacs, gnu make, etc? 

I assume some of these, and other, things can be set via resources, but 
Bookreader infuriates me so much that I didn't spend the requisite time 
trying to figure out of the information was in there or not. 

Sorry if this sounds like a flame, but I really expected more from what 
I had heard.  Hopefully I'm missing something (a lot). 

Cheers, 
					-- Sean 
 

-- 
Sean Levy, n-dim Group, EDRC, CMU, 5000 Forbes Ave, PGH, PA 15213 
Email: snl+@cmu.edu, Phone: +1 412 268 5221, Fax: +1 412 268 5229 
 


           reply	other threads:[~1993-08-02 13:21 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <EgJjg6i00hMd899mkq@cs.cmu.edu>]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox