>> On Sat, 16 Jun 2001 00:59:43 GMT,
> When I try to install qmail it looks for cc instead of
> gcc... I was able to workaround by altering a makefile
> for portsentry but in qmail's Makefile I cannot find
> anyhting refereing to the compiler. Is there a file I
> can alter to have the OS default to gcc instead of cc?
Unless "cc" is hardwired into the Makefile, make
understands the environment variable CC (and a macro
definition of the same name) to specify the C compiler.
So you can either setenv (% = csh/tcsh) / export ($ =
sh/ksh/bash) CC,
% setenv CC gcc or $ CC=gcc ; export CC
% make ... $ make ...
do a one-shot environment setting,
% env CC=gcc make ...
$ CC=gcc make ...
or pass the correct value of the CC macro on the
command-line,
%$ make CC=gcc ...
hth
t
--
Just reach into these holes. I use a carrot.