From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f678f,bd9c9187f9552c04,start X-Google-Attributes: gidf678f,public From: benyi@mundoe.maths.mu.OZ.AU (Tibor Benyi) Subject: imake and gcc Date: 1996/02/22 Message-ID: <4ghcqh$j1n@mulga.cs.mu.OZ.AU>#1/1 X-Deja-AN: 140621565 organization: Comp Sci, University of Melbourne keywords: imake gcc newsgroups: comp.unix.osf.misc summary: imake to use gcc by default Anyone know why imake insists on only using cc on the alphas. More specifically Imake.tmpl reads in osf1.cf which is what causes the problem. The osf1.cf file has a #define which sets CcCmd to cc. The problem is that this does not have a #ifndef CcCmd to check whether I have already defined it to something else else gcc for a default compiler. (For those who don't know these files are in /usr/lib/X11/config). Personally I prefer to make imake use gcc by default and use cc only if specifically requested by the user. This eliminates a lot of headaches, especially from students. I could go and edit the osf1.cf file but I shouldn't have to. Any help or advice would be appreciated as to how to go about solving this properly, surely DEC has put inplace some mechanism that is the correct way to go about this. I don't even mind flames if this is common knowledge to all but me, but only if it mentions a solution to my problem.