Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!rutgers!husc6!linus!philabs!micomvax!musocs!mcgill-vision!mouse From: mouse@mcgill-vision.UUCP Newsgroups: comp.unix.wizards Subject: Re: sources in a heterogenous enviroment Message-ID: <876@mcgill-vision.UUCP> Date: Sat, 5-Sep-87 01:45:07 EDT Article-I.D.: mcgill-v.876 Posted: Sat Sep 5 01:45:07 1987 Date-Received: Sat, 19-Sep-87 05:38:49 EDT References: <390@sdics.ucsd.EDU> Organization: McGill University, Montreal Lines: 33 In article <390@sdics.ucsd.EDU>, wallen@sdics.ucsd.EDU (Mark Wallen) writes: > With all the discussion about how to handle binaries for different > processors in a heterogenous NFS environment, I have a related > question. How do you folks handle your source files? For instance, > we've got a fair amount of home-growed software [...]. [This wins > and I don't have to] worry about multiple versions of source (there's > only one now). Here's the dinger--if I had just done a "make > install" on my Vax system and turn around and to a "make install" on > my Sun, there are probably a lot of Vaxish .o files hanging around. We handle things rather differently. For concreteness, let us consider two machines: "larry", a VAX, and "apollo", a Sun. We have a directory containing source to a program, say "foobar". We wish to have only one copy of this source and build both binaries from it. Then one machine, say larry, has all the source in a directory somewhere. In the example, this would most likely be /local/src/bin/foobar (that being our convention). Then apollo will have a distinct /local/src/bin/foobar containing one symbolic link per source file, these links pointing to the corresponding files on larry. Then the source files are perforce in sync, but the two machines have distinct directories so that make, cc, etc don't get confused. Some programs will share their Makefile as well; some will need slightly different Makefiles. Details. Works fine for us. (Don't know how well it would work if the machines were in different timezones. Might have to wait N hours before running the make on the other machine. But how often do you nfs such machines together?) der Mouse (mouse@mcgill-vision.uucp)