git: Promote GCC 4.7 to be the default compiler

John Marino marino at
Sun Feb 3 03:29:25 PST 2013

commit 6100d1de78f204e56aabe46c57a31d6a686e8f55
Author: John Marino <draco at>
Date:   Sun Feb 3 10:12:27 2013 +0100

    Promote GCC 4.7 to be the default compiler
    This commit causes world and kernel to be built by GCC 4.7 if the compiler
    is not specified.  As a side effect, the make variable "NO_GCC47" no longer
    functions.  GCC 4.7 will always be built.  In addition to changing the
    default of WORLD_CCVER, the CCVER variable also defaults to "gcc47" now.
    The variable "NO_GCC44" has been resurrected to prevent GCC 4.4 from
    being built.  As noted in the UPDATING file, using this option is highly
    discouraged.  GCC 4.4 is very useful in building some packages in pkgsrc
    that fail to build with GCC 4.7's stricter standards.  The new DPorts
    system is designed to use GCC 4.4 by default, regardless of the base's
    default compiler setting.  If at all possible, build *both* compilers
    for the maximum flexibility to build packages.

Summary of changes:
 Makefile.inc1                 | 10 +++++-----
 UPDATING                      | 13 +++++++++++++
 gnu/usr.bin/Makefile          | 14 +++++---------
 usr.bin/objformat/objformat.c |  2 +-
 4 files changed, 24 insertions(+), 15 deletions(-)

DragonFly BSD source repository

More information about the Commits mailing list