''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, consider the desire 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).

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.

    Part I: Build and Install
    Chapter 2. Build and Install sendmail
    Chapter 4. Configure sendmail.cf with m4
    Part II: Administration
    Part III: The Configuration File