Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!tinman.cis.ohio-state.edu!bob From: bob@tinman.cis.ohio-state.edu (Bob Sutterfield) Newsgroups: comp.windows.x Subject: Re: Using Different Compilers Message-ID: Date: 10 Apr 89 20:53:40 GMT References: <295@odi.UUCP> Sender: news@tut.cis.ohio-state.edu Distribution: usa Organization: The Ohio State University Dept of Computer & Information Science Lines: 15 In-reply-to: benson@odi.UUCP's message of 10 Apr 89 19:30:49 GMT In article <295@odi.UUCP> benson@odi.UUCP (Benson Margulies) writes: ...a convention for having a failsafe way to change the compile name? In util/imake.includes/Sun.macros, I put AS = gas CC = gcc CPP = /usr/local/lib/gcc-cpp LD = gld STD_CPP_DEFINES = -traditional -fstrength-reduce -finline-functions -fpcc-struct-return STD_DEFINES = -O -traditional -fstrength-reduce -finline-functions -fpcc-struct-return These values then propagate everywhere in a `make Makefiles'. This works fine with gcc 1.34 under SunOS 3.5.1.