Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!lll-winken!uunet!odi!benson From: benson@odi.UUCP (Benson Margulies) Newsgroups: comp.windows.x Subject: Using Different Compilers Message-ID: <295@odi.UUCP> Date: 10 Apr 89 19:30:49 GMT Reply-To: benson@odi.UUCP (Benson Margulies) Distribution: usa Organization: Object Design Inc., Burlington, MA Lines: 21 Those of us who install PURDUE speedups on suns and want to use GCC are in the position of wanting to use different values for CC in different places. I've been fighting with Imake for a while now, and failed to get the desired behavior from the combination of sun4 make and imake. In the directories that I wanted gcc-compiled, I added the line CC=gcc at the top of Imakefile. If I cd to such a directory (and after making the makefile) do a make, the right thing happens. When I cd to the server dir and do a make, somehow my setting of CC is undone. I can only imagine that since there is a CC= in the top level Makefile as in all of them, that even without -e sun's make is contriving to use it to override the explicit settings. Can anyone offer a recipe? Could the guru dept consider a convention for having a failsafe way to change the compile name? -- Benson I. Margulies