Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!spool.mu.edu!uunet!bellcore!dino!dana From: dana@dino.bellcore.com (Dana A. Chee) Newsgroups: comp.windows.x Subject: Re: Multiple architecture's compiled out of a single source tree-- how Message-ID: <1991May29.125540.26917@bellcore.bellcore.com> Date: 29 May 91 12:55:40 GMT Article-I.D.: bellcore.1991May29.125540.26917 References: <9105282237.AA11404@teccb1.TFS> Sender: usenet@bellcore.bellcore.com (Poster of News) Reply-To: dana@thumper.bellcore.com Organization: Packet Communications Research Group (Bellcore) Lines: 40 In article <9105282237.AA11404@teccb1.TFS>, jason@tfs.COM (Jason P. Venner) writes: |> |> Is anyone compiling multiple architectures out of a single source |> tree? |> |> if so, what are you doing? |> |> Thanx -- Jason Yes, we have one source tree, and build for 3 architectures from it (Sun 4s, Sun 3s, and Dec 5000s). This is what we do. 1) We allocated a disk for the job. 2) We made subdirectories called Src, S44_B, S34_B, and 5000_B, where the _B stands for build. 3) Go into each _B directory and use lndir (a script provided in mit/util/scripts/lndir.sh) to link in the sources from Src. 4) Now go to a machine of the correct type, and type make World (after fixing up the stuff in mit/config if necessary). 5) We go one step further, since we don't install in /usr/lib and /usr/bin/X11, we also have directories called S44, S34, and 5000. Each machine type has /usr/local/pkg/X11 pointing to the appropriate one, so when we do the make install, things go in the proper place. This may not be the clearest explaination, if you have any questions, let me know. We've built R2, R3, and now R4 this way (and each time, it gets cleaner). -- +*************************************************************************+ * Dana Chee (201) 829-4488 * * Bellcore * * Room 2Q-250 * * 445 South Street ARPA: dana@bellcore.com * * Morristown, NJ 07960-1910 UUCP: {gateways}!bellcore!dana * +*************************************************************************+