confCC
Compiler used to build sendmail Build macro
The confCC
macro is
used to specify which C-language compiler to use
when building sendmail. The
default is probably appropriate for your system, but
there might be times when a different compiler is
preferred. For example, imagine that you wanted to
use Sun’s unbundled compiler instead of
gcc(1) under Solaris
2.5:
define(`confCC', `/usr/opt/SUNWspro/bin/cc')
The confCC
macro
might also be used to compile for testing with
purify(1):
define(`confCC', `/usr/local/bin/purify cc')
Or you might need to use a specific version of gcc:
define(`confCC', `gcc -V2.7.2.1')
When compiling under Solaris with Sun’s unbundled compiler, you will need to declare the following two lines:
define(`confCC', `/opt/SUNWspro/bin/cc') define(`confDEPEND_TYPE', `Solaris')
Here, a confDEPEND_TYPE
of Solaris
causes a
Makefile to be constructed
with correct dependencies for Sun’s unbundled
compiler (confDEPEND_TYPE on page 73).
The confCC
macro
provides the value used with the CC=
Makefile directive. This
value is used to compile .o
files from .c files, and to
ld(1) the final
sendmail executable.
Get sendmail, 4th Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.