head	1.36;
access;
symbols
	RELENG_8_4:1.36.0.2
	RELENG_9_1_0_RELEASE:1.33.16.3.2.2
	RELENG_9_1:1.33.16.3.0.2
	RELENG_9_1_BP:1.33.16.3
	RELENG_8_3_0_RELEASE:1.33.10.1.8.1
	RELENG_8_3:1.33.10.1.0.8
	RELENG_8_3_BP:1.33.10.1
	RELENG_9_0_0_RELEASE:1.33.16.1.2.1
	RELENG_9_0:1.33.16.1.0.2
	RELENG_9_0_BP:1.33.16.1
	RELENG_9:1.33.0.16
	RELENG_9_BP:1.33
	RELENG_7_4_0_RELEASE:1.33.14.1
	RELENG_8_2_0_RELEASE:1.33.10.1.6.1
	RELENG_7_4:1.33.0.14
	RELENG_7_4_BP:1.33
	RELENG_8_2:1.33.10.1.0.6
	RELENG_8_2_BP:1.33.10.1
	RELENG_8_1_0_RELEASE:1.33.10.1.4.1
	RELENG_8_1:1.33.10.1.0.4
	RELENG_8_1_BP:1.33.10.1
	RELENG_7_3_0_RELEASE:1.33.12.1
	RELENG_7_3:1.33.0.12
	RELENG_7_3_BP:1.33
	RELENG_8_0_0_RELEASE:1.33.10.1.2.1
	RELENG_8_0:1.33.10.1.0.2
	RELENG_8_0_BP:1.33.10.1
	RELENG_8:1.33.0.10
	RELENG_8_BP:1.33
	RELENG_7_2_0_RELEASE:1.33.8.1
	RELENG_7_2:1.33.0.8
	RELENG_7_2_BP:1.33
	RELENG_7_1_0_RELEASE:1.33.6.1
	RELENG_6_4_0_RELEASE:1.31.2.1.6.1
	RELENG_7_1:1.33.0.6
	RELENG_7_1_BP:1.33
	RELENG_6_4:1.31.2.1.0.6
	RELENG_6_4_BP:1.31.2.1
	RELENG_7_0_0_RELEASE:1.33
	RELENG_6_3_0_RELEASE:1.31.2.1
	RELENG_7_0:1.33.0.4
	RELENG_7_0_BP:1.33
	RELENG_6_3:1.31.2.1.0.4
	RELENG_6_3_BP:1.31.2.1
	RELENG_7:1.33.0.2
	RELENG_7_BP:1.33
	RELENG_6_2_0_RELEASE:1.31.2.1
	RELENG_6_2:1.31.2.1.0.2
	RELENG_6_2_BP:1.31.2.1
	RELENG_5_5_0_RELEASE:1.30
	RELENG_5_5:1.30.0.8
	RELENG_5_5_BP:1.30
	RELENG_6_1_0_RELEASE:1.31
	RELENG_6_1:1.31.0.6
	RELENG_6_1_BP:1.31
	RELENG_6_0_0_RELEASE:1.31
	RELENG_6_0:1.31.0.4
	RELENG_6_0_BP:1.31
	RELENG_6:1.31.0.2
	RELENG_6_BP:1.31
	RELENG_5_4_0_RELEASE:1.30
	RELENG_5_4:1.30.0.6
	RELENG_5_4_BP:1.30
	RELENG_4_11_0_RELEASE:1.20.2.4
	RELENG_4_11:1.20.2.4.0.8
	RELENG_4_11_BP:1.20.2.4
	RELENG_5_3_0_RELEASE:1.30
	RELENG_5_3:1.30.0.4
	RELENG_5_3_BP:1.30
	RELENG_5:1.30.0.2
	RELENG_5_BP:1.30
	RELENG_4_10_0_RELEASE:1.20.2.4
	RELENG_4_10:1.20.2.4.0.6
	RELENG_4_10_BP:1.20.2.4
	RELENG_5_2_1_RELEASE:1.28
	RELENG_5_2_0_RELEASE:1.28
	RELENG_5_2:1.28.0.6
	RELENG_5_2_BP:1.28
	RELENG_4_9_0_RELEASE:1.20.2.4
	RELENG_4_9:1.20.2.4.0.4
	RELENG_4_9_BP:1.20.2.4
	RELENG_5_1_0_RELEASE:1.28
	RELENG_5_1:1.28.0.4
	RELENG_5_1_BP:1.28
	RELENG_4_8_0_RELEASE:1.20.2.4
	RELENG_4_8:1.20.2.4.0.2
	RELENG_4_8_BP:1.20.2.4
	RELENG_5_0_0_RELEASE:1.28
	RELENG_5_0:1.28.0.2
	RELENG_5_0_BP:1.28
	RELENG_4_7_0_RELEASE:1.20.2.3
	RELENG_4_7:1.20.2.3.0.2
	RELENG_4_7_BP:1.20.2.3
	RELENG_4_6_2_RELEASE:1.20.2.2
	RELENG_4_6_1_RELEASE:1.20.2.2
	RELENG_4_6_0_RELEASE:1.20.2.2
	RELENG_4_6:1.20.2.2.0.6
	RELENG_4_6_BP:1.20.2.2
	RELENG_4_5_0_RELEASE:1.20.2.2
	RELENG_4_5:1.20.2.2.0.4
	RELENG_4_5_BP:1.20.2.2
	WIP_GCC31:1.24.0.2
	WIP_GCC31_BP:1.24
	RELENG_4_4_0_RELEASE:1.20.2.2
	RELENG_4_4:1.20.2.2.0.2
	RELENG_4_4_BP:1.20.2.2
	RELENG_4_3_0_RELEASE:1.20.2.1
	RELENG_4_3:1.20.2.1.0.2
	RELENG_4_3_BP:1.20.2.1
	BEFORE_GCC_2_95_3:1.20.2.1
	BEFORE_GCC_2_95_3_TEST3:1.21
	RELENG_4_2_0_RELEASE:1.20.2.1
	RELENG_4_1_1_RELEASE:1.20.2.1
	PRE_SMPNG:1.21
	RELENG_4_1_0_RELEASE:1.20.2.1
	RELENG_3_5_0_RELEASE:1.13.2.1
	BEFORE_GCC_2_96_SNAPSHOT:1.21
	RELENG_4_0_0_RELEASE:1.20
	RELENG_4:1.20.0.2
	RELENG_4_BP:1.20
	EGCS_11x:1.17.0.2
	RELENG_3_4_0_RELEASE:1.13.2.1
	BEFORE_GCC_2_95_1:1.17
	RELENG_3_3_0_RELEASE:1.13.2.1
	RELENG_3_2_PAO:1.13.0.4
	RELENG_3_2_PAO_BP:1.13
	RELENG_3_2_0_RELEASE:1.13
	RELENG_3_1_0_RELEASE:1.13
	RELENG_3:1.13.0.2
	RELENG_3_BP:1.13
	RELENG_2_2_8_RELEASE:1.10
	RELENG_3_0_0_RELEASE:1.13
	RELENG_2_2_7_RELEASE:1.10
	RELENG_2_2_6_RELEASE:1.10
	RELENG_2_2_5_RELEASE:1.10
	RELENG_2_2_2_RELEASE:1.10
	RELENG_2_2_1_RELEASE:1.10
	RELENG_2_2_0_RELEASE:1.10
	RELENG_2_1_7_RELEASE:1.8.4.2
	RELENG_2_1_6_1_RELEASE:1.8.4.2
	RELENG_2_1_6_RELEASE:1.8.4.2
	RELENG_2_2:1.10.0.2
	RELENG_2_2_BP:1.10
	gcc_2_6_3_final:1.9
	RELENG_2_1_5_RELEASE:1.8.4.2
	RELENG_2_1_0_RELEASE:1.8
	RELENG_2_1_0:1.8.0.4
	RELENG_2_1_0_BP:1.8
	RELENG_2_0_5_RELEASE:1.8
	RELENG_2_0_5:1.8.0.2
	RELENG_2_0_5_BP:1.8
	RELENG_2_0_5_ALPHA:1.8
	RELEASE_2_0:1.7
	BETA_2_0:1.7
	ALPHA_2_0:1.6.0.2
	gcc_2_6_0_bmake1:1.1.1.1
	gcc_2_6_0_bmake:1.1.1.1
	gnu:1.1.1;
locks; strict;
comment	@# @;


1.36
date	2012.11.17.01.49.09;	author svnexp;	state Exp;
branches
	1.36.2.1;
next	1.35;

1.35
date	2012.04.29.09.32.44;	author kib;	state Exp;
branches;
next	1.34;

1.34
date	2012.02.29.22.58.51;	author dim;	state Exp;
branches;
next	1.33;

1.33
date	2007.05.19.04.25.57;	author kan;	state Exp;
branches
	1.33.2.1
	1.33.6.1
	1.33.8.1
	1.33.10.1
	1.33.12.1
	1.33.14.1
	1.33.16.1;
next	1.32;

1.32
date	2006.09.21.07.52.40;	author ru;	state Exp;
branches;
next	1.31;

1.31
date	2004.12.21.09.59.41;	author ru;	state Exp;
branches
	1.31.2.1;
next	1.30;

1.30
date	2004.07.28.05.27.19;	author kan;	state Exp;
branches;
next	1.29;

1.29
date	2004.02.05.22.44.21;	author ru;	state Exp;
branches;
next	1.28;

1.28
date	2002.06.05.21.30.43;	author obrien;	state Exp;
branches;
next	1.27;

1.27
date	2002.06.04.19.45.09;	author obrien;	state Exp;
branches;
next	1.26;

1.26
date	2002.05.10.08.54.45;	author obrien;	state Exp;
branches;
next	1.25;

1.25
date	2002.04.08.18.48.37;	author obrien;	state Exp;
branches;
next	1.24;

1.24
date	2001.03.27.14.58.37;	author ru;	state Exp;
branches
	1.24.2.1;
next	1.23;

1.23
date	2001.02.28.10.46.50;	author obrien;	state Exp;
branches;
next	1.22;

1.22
date	2001.02.17.09.46.41;	author obrien;	state Exp;
branches;
next	1.21;

1.21
date	2000.03.13.09.12.35;	author obrien;	state Exp;
branches;
next	1.20;

1.20
date	2000.01.24.20.11.58;	author obrien;	state Exp;
branches
	1.20.2.1;
next	1.19;

1.19
date	99.12.19.20.22.40;	author obrien;	state Exp;
branches;
next	1.18;

1.18
date	99.11.15.04.16.12;	author obrien;	state Exp;
branches;
next	1.17;

1.17
date	99.08.27.23.35.12;	author peter;	state Exp;
branches
	1.17.2.1;
next	1.16;

1.16
date	99.08.16.04.10.38;	author obrien;	state Exp;
branches;
next	1.15;

1.15
date	99.04.18.09.39.37;	author obrien;	state Exp;
branches;
next	1.14;

1.14
date	99.04.04.16.36.32;	author obrien;	state Exp;
branches;
next	1.13;

1.13
date	98.03.08.05.29.46;	author peter;	state Exp;
branches
	1.13.2.1;
next	1.12;

1.12
date	97.02.22.15.44.52;	author peter;	state Exp;
branches;
next	1.11;

1.11
date	97.01.14.05.56.48;	author jkh;	state Exp;
branches;
next	1.10;

1.10
date	96.09.19.15.38.13;	author peter;	state Exp;
branches
	1.10.2.1;
next	1.9;

1.9
date	96.02.09.16.18.56;	author mpp;	state Exp;
branches;
next	1.8;

1.8
date	94.12.26.19.15.19;	author ats;	state Exp;
branches
	1.8.4.1;
next	1.7;

1.7
date	94.11.15.04.51.27;	author phk;	state Exp;
branches;
next	1.6;

1.6
date	94.11.01.20.51.29;	author jkh;	state Exp;
branches;
next	1.5;

1.5
date	94.09.18.22.35.46;	author wollman;	state Exp;
branches;
next	1.4;

1.4
date	94.08.28.18.47.43;	author bde;	state Exp;
branches;
next	1.3;

1.3
date	94.08.23.17.18.58;	author paul;	state Exp;
branches;
next	1.2;

1.2
date	94.08.20.06.28.37;	author paul;	state Exp;
branches;
next	1.1;

1.1
date	94.08.02.20.15.50;	author phk;	state Exp;
branches
	1.1.1.1;
next	;

1.36.2.1
date	2012.11.17.01.49.09;	author svnexp;	state dead;
branches;
next	1.36.2.2;

1.36.2.2
date	2013.03.28.13.02.48;	author svnexp;	state Exp;
branches;
next	;

1.33.2.1
date	2012.11.17.08.01.30;	author svnexp;	state Exp;
branches;
next	;

1.33.6.1
date	2008.11.25.02.59.29;	author kensmith;	state Exp;
branches;
next	;

1.33.8.1
date	2009.04.15.03.14.26;	author kensmith;	state Exp;
branches;
next	;

1.33.10.1
date	2009.08.03.08.13.06;	author kensmith;	state Exp;
branches
	1.33.10.1.2.1
	1.33.10.1.4.1
	1.33.10.1.6.1
	1.33.10.1.8.1;
next	1.33.10.2;

1.33.10.2
date	2012.11.17.10.35.58;	author svnexp;	state Exp;
branches;
next	;

1.33.10.1.2.1
date	2009.10.25.01.10.29;	author kensmith;	state Exp;
branches;
next	;

1.33.10.1.4.1
date	2010.06.14.02.09.06;	author kensmith;	state Exp;
branches;
next	;

1.33.10.1.6.1
date	2010.12.21.17.09.25;	author kensmith;	state Exp;
branches;
next	;

1.33.10.1.8.1
date	2012.03.03.06.15.13;	author kensmith;	state Exp;
branches;
next	1.33.10.1.8.2;

1.33.10.1.8.2
date	2012.11.17.08.24.39;	author svnexp;	state Exp;
branches;
next	;

1.33.12.1
date	2010.02.10.00.26.20;	author kensmith;	state Exp;
branches;
next	;

1.33.14.1
date	2010.12.21.17.10.29;	author kensmith;	state Exp;
branches;
next	1.33.14.2;

1.33.14.2
date	2012.11.17.08.16.39;	author svnexp;	state Exp;
branches;
next	;

1.33.16.1
date	2011.09.23.00.51.37;	author kensmith;	state Exp;
branches
	1.33.16.1.2.1;
next	1.33.16.2;

1.33.16.2
date	2012.03.17.22.29.05;	author dim;	state Exp;
branches;
next	1.33.16.3;

1.33.16.3
date	2012.05.13.13.57.53;	author kib;	state Exp;
branches
	1.33.16.3.2.1;
next	1.33.16.4;

1.33.16.4
date	2012.11.17.11.36.13;	author svnexp;	state Exp;
branches;
next	;

1.33.16.1.2.1
date	2011.11.11.04.20.22;	author kensmith;	state Exp;
branches;
next	1.33.16.1.2.2;

1.33.16.1.2.2
date	2012.11.17.08.36.13;	author svnexp;	state Exp;
branches;
next	;

1.33.16.3.2.1
date	2012.08.05.23.54.33;	author kensmith;	state Exp;
branches;
next	1.33.16.3.2.2;

1.33.16.3.2.2
date	2012.11.17.08.47.03;	author svnexp;	state Exp;
branches;
next	;

1.31.2.1
date	2006.09.25.06.19.41;	author ru;	state Exp;
branches
	1.31.2.1.6.1;
next	1.31.2.2;

1.31.2.2
date	2012.11.17.07.39.17;	author svnexp;	state Exp;
branches;
next	;

1.31.2.1.6.1
date	2008.10.02.02.57.24;	author kensmith;	state Exp;
branches;
next	;

1.24.2.1
date	2002.04.06.23.15.10;	author obrien;	state Exp;
branches;
next	;

1.20.2.1
date	2000.07.04.05.34.53;	author obrien;	state Exp;
branches;
next	1.20.2.2;

1.20.2.2
date	2001.04.25.12.03.29;	author ru;	state Exp;
branches;
next	1.20.2.3;

1.20.2.3
date	2002.06.20.23.13.30;	author obrien;	state Exp;
branches;
next	1.20.2.4;

1.20.2.4
date	2002.11.15.18.18.38;	author ru;	state Exp;
branches;
next	1.20.2.5;

1.20.2.5
date	2012.11.17.07.23.02;	author svnexp;	state Exp;
branches;
next	;

1.17.2.1
date	2000.01.13.08.50.08;	author obrien;	state Exp;
branches;
next	;

1.13.2.1
date	99.08.29.14.32.31;	author peter;	state Exp;
branches;
next	;

1.10.2.1
date	99.09.05.11.06.17;	author peter;	state Exp;
branches;
next	;

1.8.4.1
date	96.05.29.22.32.36;	author jkh;	state Exp;
branches;
next	1.8.4.2;

1.8.4.2
date	96.06.05.02.39.25;	author jkh;	state Exp;
branches;
next	1.8.4.3;

1.8.4.3
date	99.09.05.11.10.51;	author peter;	state Exp;
branches;
next	;

1.1.1.1
date	94.08.02.20.15.51;	author phk;	state Exp;
branches;
next	;


desc
@@


1.36
log
@Switching exporter and resync
@
text
@# $FreeBSD: head/gnu/usr.bin/cc/cc/Makefile 234782 2012-04-29 09:32:44Z kib $

.include <bsd.own.mk>

.include "../Makefile.inc"
.include "../Makefile.fe"

PROG=	gcc
MAN=	gcc.1
SRCS+=  gccspec.c

.if ${MK_SHARED_TOOLCHAIN} == "no"
NO_SHARED?=yes
.endif

MLINKS=	gcc.1 g++.1
.if ${MK_CLANG_IS_CC} == "no"
LINKS=	${BINDIR}/gcc ${BINDIR}/cc
MLINKS+= gcc.1 cc.1 gcc.1 c++.1 gcc.1 CC.1
.endif

.include <bsd.prog.mk>
@


1.36.2.1
log
@file Makefile was added on branch RELENG_8_4 on 2013-03-28 13:02:48 +0000
@
text
@d1 22
@


1.36.2.2
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/248810
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@a0 15
# $FreeBSD: releng/8.4/gnu/usr.bin/cc/cc/Makefile 169718 2007-05-19 04:25:59Z kan $

.include "../Makefile.inc"
.include "../Makefile.fe"

PROG=	cc
MAN=	gcc.1
SRCS+=  gccspec.c

NO_SHARED?=yes

LINKS=	${BINDIR}/cc ${BINDIR}/gcc
MLINKS=	gcc.1 cc.1 gcc.1 c++.1 gcc.1 g++.1 gcc.1 CC.1

.include <bsd.prog.mk>
@


1.35
log
@SVN rev 234782 on 2012-04-29 09:32:44Z by kib

Add src.conf option WITH_SHARED_TOOLCHAIN to enable building the
toolchain binaries as dynamically linked.  Option is disabled by
default.

Reviewed by:	ru (previous version)
MFC after:	2 weeks
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.34
log
@SVN rev 232322 on 2012-02-29 22:58:51Z by dim

Add a WITH_CLANG_IS_CC option for src.conf(5), disabled by default, that
installs clang as /usr/bin/cc, /usr/bin/c++ and /usr/bin/cpp.

Note this does *not* disable building and installing gcc, which will
still be available as /usr/bin/gcc, /usr/bin/g++ and /usr/bin/gcpp.  If
you want to disable gcc completely, you must use WITHOUT_GCC.

MFC after:	2 weeks
@
text
@d12 1
d14 1
@


1.33
log
@Update bmake glue to build GCC 4.2.

Also:
        Switch FreeBSD to use libgcc_s.so.1.

        Use dl_iterate_phdr to locate shared objects' exception frame
        info instead of depending on older register_frame_info machinery.
        This allows us to avoid depending on libgcc_s.so.1 in binaries
        that do not use exception handling directly. As an additional
        benefit it breaks circular libc <=> libgcc_s.so.1 dependency too.

        Build newly added libgomp.so.1 library, the runtime support
        bits for OpenMP.

        Build LGPLed libssp library. Our libc provides our own
        BSD-licensed SSP callbacks implementation, so this library
        is only built to benefit applications that have hadcoded
        knowledge of libssp.so and libssp_nonshared.a. When linked
        in from command line, these libraries override libc
        implementation.
@
text
@d3 2
d8 1
a8 1
PROG=	cc
d14 5
a18 2
LINKS=	${BINDIR}/cc ${BINDIR}/gcc
MLINKS=	gcc.1 cc.1 gcc.1 c++.1 gcc.1 g++.1 gcc.1 CC.1
@


1.33.2.1
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/7/gnu/usr.bin/cc/cc/Makefile 169718 2007-05-19 04:25:59Z kan $
@


1.33.16.1
log
@SVN rev 225736 on 2011-09-23 00:51:37Z by kensmith

Copy head to stable/9 as part of 9.0-RELEASE release cycle.

Approved by:	re (implicit)
@
text
@@


1.33.16.2
log
@SVN rev 233099 on 2012-03-17 22:29:05Z by dim

MFC 232322:
  Add a WITH_CLANG_IS_CC option for src.conf(5), disabled by default, that
  installs clang as /usr/bin/cc, /usr/bin/c++ and /usr/bin/cpp.

  Note this does *not* disable building and installing gcc, which will
  still be available as /usr/bin/gcc, /usr/bin/g++ and /usr/bin/gcpp.  If
  you want to disable gcc completely, you must use WITHOUT_GCC.

MFC 232323:
  Regenerate src.conf(5) after r232322.

MFC 232477:
  In r232322, I forgot one case where a check for MK_CLANG_IS_CC was
  needed, in sys/conf/kern.pre.mk.  Add it now.

MFC 232522:
  Fix a thinko in r232322, where gcc (and its tools) are not built during
  the cross-tools stage, if CC=clang and WITH_CLANG_IS_CC is not set.

  This causes no 'cc' to be installed in the temporary cross-tools tree,
  making lint fall over later in the build, because it ignores ${CC} and
  attempts to run 'cc' anyway.

  To fix this, only skip building gcc during cross-tools, if WITHOUT_GCC
  is set, or if WITH_CLANG_IS_CC is set.

  Pointy hat to:	dim
@
text
@a2 2
.include <bsd.own.mk>

d6 1
a6 1
PROG=	gcc
d12 2
a13 5
MLINKS=	gcc.1 g++.1
.if ${MK_CLANG_IS_CC} == "no"
LINKS=	${BINDIR}/gcc ${BINDIR}/cc
MLINKS+= gcc.1 cc.1 gcc.1 c++.1 gcc.1 CC.1
.endif
@


1.33.16.3
log
@SVN rev 235398 on 2012-05-13 13:57:53Z by kib

MFC r234782:
Add src.conf option WITH_SHARED_TOOLCHAIN to enable building the
toolchain binaries as dynamically linked.  Option is disabled by
default.

MFC r235152 (by imp):
Make is part of the bootstrap path, so we need to guard against this
not being defined.  Otherwise we don't make a new make when the old
make is incompatible.
@
text
@a11 1
.if ${MK_SHARED_TOOLCHAIN} == "no"
a12 1
.endif
@


1.33.16.4
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/ 242902
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r242902 | dteske | 2012-11-11 23:29:45 +0000 (Sun, 11 Nov 2012) | 10 lines
## SVN ##
## SVN ## Fix a regression introduced by SVN r211417 that saw the breakage of a feature
## SVN ## documented in usr.sbin/sysinstall/help/shortcuts.hlp (reproduced below):
## SVN ##
## SVN ## If /usr/sbin/sysinstall is linked to another filename, say
## SVN ## `/usr/local/bin/configPackages', then the basename will be used
## SVN ## as an implicit command name.
## SVN ##
## SVN ## Reviewed by:	adrian (co-mentor)
## SVN ## Approved by:	adrian (co-mentor)
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d1 1
a1 1
# $FreeBSD: stable/9/gnu/usr.bin/cc/cc/Makefile 235398 2012-05-13 13:57:53Z kib $
@


1.33.16.3.2.1
log
@SVN rev 239080 on 2012-08-05 23:54:33Z by kensmith

Copy stable/9 to releng/9.1 as part of the 9.1-RELEASE release process.

Approved by:	re (implicit)
@
text
@@


1.33.16.3.2.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/9.1/gnu/usr.bin/cc/cc/Makefile 235398 2012-05-13 13:57:53Z kib $
@


1.33.16.1.2.1
log
@SVN rev 227445 on 2011-11-11 04:20:22Z by kensmith

Copy stable/9 to releng/9.0 as part of the FreeBSD 9.0-RELEASE release
cycle.

Approved by:	re (implicit)
@
text
@@


1.33.16.1.2.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/9.0/gnu/usr.bin/cc/cc/Makefile 169718 2007-05-19 04:25:59Z kan $
@


1.33.14.1
log
@SVN rev 216618 on 2010-12-21 17:10:29Z by kensmith

Copy stable/7 to releng/7.4 in preparation for FreeBSD-7.4 release.

Approved by:	re (implicit)
@
text
@@


1.33.14.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/7.4/gnu/usr.bin/cc/cc/Makefile 169718 2007-05-19 04:25:59Z kan $
@


1.33.12.1
log
@SVN rev 203736 on 2010-02-10 00:26:20Z by kensmith

Copy stable/7 to releng/7.3 as part of the 7.3-RELEASE process.

Approved by:	re (implicit)
@
text
@@


1.33.10.1
log
@SVN rev 196045 on 2009-08-03 08:13:06Z by kensmith

Copy head to stable/8 as part of 8.0 Release cycle.

Approved by:	re (Implicit)
@
text
@@


1.33.10.2
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/ 242909
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r242909 | dim | 2012-11-12 07:47:19 +0000 (Mon, 12 Nov 2012) | 20 lines
## SVN ##
## SVN ## MFC r242625:
## SVN ##
## SVN ## Remove duplicate const specifiers in many drivers (I hope I got all of
## SVN ## them, please let me know if not).  Most of these are of the form:
## SVN ##
## SVN ## static const struct bzzt_type {
## SVN ##       [...list of members...]
## SVN ## } const bzzt_devs[] = {
## SVN ##       [...list of initializers...]
## SVN ## };
## SVN ##
## SVN ## The second const is unnecessary, as arrays cannot be modified anyway,
## SVN ## and if the elements are const, the whole thing is const automatically
## SVN ## (e.g. it is placed in .rodata).
## SVN ##
## SVN ## I have verified this does not change the binary output of a full kernel
## SVN ## build (except for build timestamps embedded in the object files).
## SVN ##
## SVN ## Reviewed by:	yongari, marius
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d1 1
a1 1
# $FreeBSD: stable/8/gnu/usr.bin/cc/cc/Makefile 169718 2007-05-19 04:25:59Z kan $
@


1.33.10.1.8.1
log
@SVN rev 232438 on 2012-03-03 06:15:13Z by kensmith

Copy stable/8 to releng/8.3 as part of 8.3-RELEASE release cycle.

Approved by:	re (implicit)
@
text
@@


1.33.10.1.8.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/8.3/gnu/usr.bin/cc/cc/Makefile 169718 2007-05-19 04:25:59Z kan $
@


1.33.10.1.6.1
log
@SVN rev 216617 on 2010-12-21 17:09:25Z by kensmith

Copy stable/8 to releng/8.2 in preparation for FreeBSD-8.2 release.

Approved by:	re (implicit)
@
text
@@


1.33.10.1.4.1
log
@SVN rev 209145 on 2010-06-14 02:09:06Z by kensmith

Copy stable/8 to releng/8.1 in preparation for 8.1-RC1.

Approved by:	re (implicit)
@
text
@@


1.33.10.1.2.1
log
@SVN rev 198460 on 2009-10-25 01:10:29Z by kensmith

Copy stable/8 to releng/8.0 as part of 8.0-RELEASE release procedure.

Approved by:	re (implicit)
@
text
@@


1.33.8.1
log
@SVN rev 191087 on 2009-04-15 03:14:26Z by kensmith

Create releng/7.2 from stable/7 in preparation for 7.2-RELEASE.

Approved by:	re (implicit)
@
text
@@


1.33.6.1
log
@SVN rev 185281 on 2008-11-25 02:59:29Z by kensmith

Create releng/7.1 in preparation for moving into RC phase of 7.1 release
cycle.

Approved by:	re (implicit)
@
text
@@


1.32
log
@Prepare to pick up manpages from their new location.
@
text
@a5 2
.PATH: ${GCCDIR} ${GCCDIR}/doc

d8 2
a9 1
SRCS=	gcc.c gccspec.c
a14 3
DPADD=	${LIBCC_INT}
LDADD=	${LIBCC_INT}

@


1.31
log
@NOSHARED -> NO_SHARED
@
text
@d6 1
a6 1
.PATH: ${GCCDIR}
@


1.31.2.1
log
@MFC: Bring GCC manpages back to reality.

Approved by:	re (kensmith)
@
text
@d6 1
a6 1
.PATH: ${GCCDIR} ${GCCDIR}/doc
@


1.31.2.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/6/gnu/usr.bin/cc/cc/Makefile 162611 2006-09-25 06:19:41Z ru $
@


1.31.2.1.6.1
log
@SVN rev 183531 on 2008-10-02 02:57:24Z by kensmith

Create releng/6.4 from stable/6 in preparation for 6.4-RC1.

Approved by:	re (implicit)
@
text
@@


1.30
log
@Bmake glue for GCC 3.4.2-prerelease.
@
text
@d11 1
a11 1
NOSHARED?=yes
@


1.29
log
@Fixed style of DPADD and LDADD assignments as per style.Makefile(5).
@
text
@a15 3
CFLAGS+= -DDEFAULT_TARGET_VERSION=\"$(version)\"
CFLAGS+= -DDEFAULT_TARGET_MACHINE=\"$(target)\"

@


1.28
log
@The best we can do about man pages for the moment.
@
text
@d19 2
a20 2
DPADD+=	${LIBCC_INT}
LDADD+=	${LIBCC_INT}
@


1.27
log
@We don't need this library any more.
@
text
@a9 1
NOMAN=	# not while compile from GCC repo checkout
@


1.26
log
@Bmake bits for Gcc 3.1.

Partially made possible by:	Wilko.Bulte@@compaq.com
@
text
@d20 2
a21 2
DPADD+=	${LIBCC_INT} ${LIBCC_FBSD}
LDADD+=	${LIBCC_INT} ${LIBCC_FBSD}
@


1.25
log
@Fine!  I cannot freaking take the bikeshed any more.
These binaries will be static, peroid.
@
text
@d4 1
d10 1
d12 1
a12 1
NOSHARED=yes
@


1.24
log
@MAN[1-9] -> MAN.
@
text
@d1 1
a1 1
# $FreeBSD: src/gnu/usr.bin/cc/cc/Makefile,v 1.23 2001/02/28 10:46:50 obrien Exp $
d10 1
a10 1
NOSHARED?=yes
@


1.24.2.1
log
@Bmake bits for GCC 3.1.
@
text
@d1 1
a1 1
# $FreeBSD$
a3 1
.include "../Makefile.fe"
@


1.23
log
@Allow "NOSHARED" to be overridden.

Submitted by:	bde
@
text
@d1 1
a1 1
# $FreeBSD: src/gnu/usr.bin/cc/cc/Makefile,v 1.22 2001/02/17 09:46:41 obrien Exp $
d8 1
a8 1
MAN1=	gcc.1
@


1.22
log
@Make `cc' and `cpp0' staticly linked binaries in this development version
of the OS.
@
text
@d1 1
a1 1
# $FreeBSD: src/gnu/usr.bin/cc/cc/Makefile,v 1.21 2000/03/13 09:12:35 obrien Exp $
d10 1
a10 1
NOSHARED=yes
@


1.21
log
@Move some cflag contents down to where they are acutally used.
@
text
@d1 1
a1 1
# $FreeBSD: src/gnu/usr.bin/cc/cc/Makefile,v 1.20 2000/01/24 20:11:58 obrien Exp $
d10 1
@


1.20
log
@Merge cc_drv into cc_int.  Merge more shared files into cc_int.
@
text
@d1 1
a1 1
# $FreeBSD: src/gnu/usr.bin/cc/cc/Makefile,v 1.19 1999/12/19 20:22:40 obrien Exp $
d13 3
@


1.20.2.1
log
@MFC:  Move some cflag contents down to where they are acutally used.
@
text
@d1 1
a1 1
# $FreeBSD$
a12 3

CFLAGS+= -DDEFAULT_TARGET_VERSION=\"$(version)\"
CFLAGS+= -DDEFAULT_TARGET_MACHINE=\"$(target)\"
@


1.20.2.2
log
@MFC: MAN[1-9] -> MAN.
@
text
@d1 1
a1 1
# $FreeBSD: src/gnu/usr.bin/cc/cc/Makefile,v 1.20.2.1 2000/07/04 05:34:53 obrien Exp $
d8 1
a8 1
MAN=	gcc.1
@


1.20.2.3
log
@MFC: update to Gcc 2.95.4
@
text
@d1 1
a1 1
# $FreeBSD$
a9 1
NOSHARED=yes
@


1.20.2.4
log
@Removed the cc_fbsd bootstrap library; upgrades from 4.0-RELEASE
work without it and it doesn't compile under today's 5.0-CURRENT.
(This is to restore the ability to downgrade to RELENG_4.)
@
text
@d18 2
a19 2
DPADD+=	${LIBCC_INT}
LDADD+=	${LIBCC_INT}
@


1.20.2.5
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/4/gnu/usr.bin/cc/cc/Makefile 106952 2002-11-15 18:18:39Z ru $
@


1.19
log
@Add libcc_fbsd.a that contains libc and libiberty routines needed in
bootstraping on FreeBSD specifically.

3.2 upgrade path tested by:	marcel
@
text
@d1 1
a1 1
# $FreeBSD: src/gnu/usr.bin/cc/cc/Makefile,v 1.18 1999/11/15 04:16:12 obrien Exp $
d14 2
a15 2
DPADD+=	${LIBCC_DRV} ${LIBCC_FBSD}
LDADD+=	${LIBCC_DRV} ${LIBCC_FBSD}
@


1.18
log
@Cut over the system compiler from from EGCS 1.1.2 to GCC 2.95.2.
@
text
@d1 1
a1 1
# $FreeBSD: src/gnu/usr.bin/cc/cc/Makefile,v 1.17 1999/08/27 23:35:12 peter Exp $
d14 2
a15 2
DPADD+=	${LIBCC_DRV} 
LDADD+=	${LIBCC_DRV}
@


1.17
log
@$Id$ -> $FreeBSD$
@
text
@d1 1
a1 1
# $FreeBSD$
d9 1
a9 1
SRCS=	gcc.c
@


1.17.2.1
log
@Allow EGCS 1.1.2 to co-exist with the new compiler, for regression testing.
@
text
@d1 1
a1 1
# $FreeBSD: src/gnu/usr.bin/cc/cc/Makefile,v 1.17 1999/08/27 23:35:12 peter Exp $
d7 1
a7 1
PROG=	egcc
@


1.16
log
@Purely cosmetic cleanups.
 - Id tag layout wrong.
 - "FOO =" -> "FOO=".
 - 4 space indention on continuation lines rather than a <tab>

Basic idea checked by:	bde
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.15 1999/04/18 09:39:37 obrien Exp $
@


1.15
log
@Use inherited BINDIR defintion.
@
text
@d1 1
a1 3
#
# $Id: Makefile,v 1.14 1999/04/04 16:36:32 obrien Exp $
#
d7 3
a9 3
PROG =	cc
MAN1 =  gcc.1
SRCS =	gcc.c
d12 1
a12 1
MLINKS= gcc.1 cc.1 gcc.1 c++.1 gcc.1 g++.1 gcc.1 CC.1
@


1.14
log
@Minimum set of changes to switch from Gcc 2.7.2 (in contrib/gcc) to Egcs 1.1.2
(in contrib/egcs)
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.15 1999/03/05 04:55:03 obrien Exp $
a11 1
BINDIR=	/usr/bin
@


1.13
log
@First round of changes to support generation of assembler for the old
a.out gas and the binutils gas (elf or a.out) with a single compiler.

This uses other infrastructure not yet committed, in order to support
both a.out and elf it needs to be able to get to both a.out and elf
gas, ld, libs, crt* etc.  So for now, the support is pretty much dormant.

The new freebsd.h file is based on the old freebsd-elf.h file (which has a
long lineage, right back through linux and svr4 files).  The change is
pretty dramatic from a gcc internals standpoint as it overrides a lot of
definitions in order to generate different output based on target mode.
There is potential for screw-ups, so please be on the lookout - gcc's
configuration mechanism wasn't really meant for this kind of thing.
It's believed to compile world etc just fine under both a.out and elf, can
handle global constructors and destructors, handles the differences in
a.out and elf stabs, and what sections things like exceptions go in.

The initial idea came from i386/osfrose.h which is a dual rose/elf format
target.  These two are not as diverse as a.out and elf it would seem.

The cc front-end uses external configuration to determine default object
format (still being thrashed out, so read the source if you want to see
it so far), and has a '-aout' and '-elf' override command line switch.
There are some other internal switches that can be accessed, namely -maout,
-mno-aout, -munderscores and -mnounderscores.  The underscore and local
symbol prefixing rules are controllable seperately to the output format.
(ie: it's possible to generate a.out without the _ prefixes on symbols and
also to generate elf with the _ prefixes.  This isn't quite optimal, but
does seem to work pretty well, except the linkers don't always recognise
the local symbols without their normal names)

The default format is a.out (still), nobody should see any major changes.

With both elf and a.out tools and libraries installed:

[1:26pm]/tmp-223> cc -elf -o hello hello.c
peter@@beast[1:27pm]/tmp-224> file hello
hello: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), dynamically linked, not stripped
[1:27pm]/tmp-225> ./hello
hello world!

[1:27pm]/tmp-226> cc -aout -o hello hello.c
[1:27pm]/tmp-227> file hello
hello: FreeBSD/i386 compact demand paged dynamically linked executable not stripped
1:27pm]/tmp-228> ./hello
hello world!

Since my co-conspirators put a lot of effort into this too, I'll add them
so they can share the blame^H^H^H^H^Hglory. :-)

Reviewed by: sos, jdp
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.12 1997/02/22 15:44:52 peter Exp $
d5 4
d13 1
a13 1
SRCS+=	multilib.h obstack.c version.c
d15 1
a15 5
MLINKS= gcc.1 cc.1 gcc.1 c++.1 gcc.1 g++.1
CLEANFILES+= multilib.h

CFLAGS+= -I.	# I mean it!
CFLAGS+= -I${.CURDIR}
d17 2
a18 2
multilib.h: genmultilib
	echo '#define MULTILIB_SELECT "aout maout;elf !maout;"' > multilib.h
@


1.13.2.1
log
@$Id$ -> $FreeBSD$
@
text
@d2 1
a2 1
# $FreeBSD$
@


1.12
log
@Revert $FreeBSD$ to $Id$
@
text
@d2 1
a2 1
# $Id$
a16 1
# I have NO idea what this is for, it appears to be m68k specific.
d18 1
a18 2
	sh ${GCCDIR}/genmultilib "$(MULTILIB_OPTIONS)" \
		"$(MULTILIB_DIRNAMES)" "$(MULTILIB_MATCHES)" > multilib.h
@


1.11
log
@Make the long-awaited change from $Id$ to $FreeBSD$

This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.
@
text
@d2 1
a2 1
# $FreeBSD$
@


1.10
log
@Man the lifeboats!  Tie down the hatches!  Red alert! Activate gcc-2.7.2.1!

(the old cc has been tagged with "gcc_2_6_3_final" so we have a reference
 point in case of unforseen disasters...)

This has the objc backend active, and I think I've managed to get the
f77 f2c support through in one piece, but I don't know fortran to test it.

A 'make world' change and libobjc commit will follow.

If you normally do 'make -DNOCLEAN world', do not do so this time, I know
it can fail with groff.

This version of gcc makes a **LOT** more warnings on our kernel.
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.9 1996/02/09 16:18:56 mpp Exp $
@


1.10.2.1
log
@$Id$ -> $FreeBSD$
@
text
@d2 1
a2 1
# $FreeBSD$
@


1.9
log
@Add some missing MLINKS, correct some cross references, correct some
file locations and some minor formatting/style problems.
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.8 1994/12/26 19:15:19 ats Exp $
d6 1
d9 1
a9 2
.PATH: ${.CURDIR}/../cc_int
SRCS+=	obstack.c version.c
d11 10
a20 1
MLINKS= cc.1 gcc.1 cc.1 c++.1 cc.1 g++.1
@


1.8
log
@Install also a gcc.1 manual page as a link from cc.1, as long as
we have the link cc to gcc.
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.7 1994/11/15 04:51:27 phk Exp $
d11 1
a11 1
MLINKS= cc.1 gcc.1
@


1.8.4.1
log
@Merge from HEAD, except:

	Clients that used gnumalloc still do, despite the merge.  We're not
	bringing phkmalloc over.

	Thread stuff left out.

	PCCARD support left out.
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.8 1994/12/26 19:15:19 ats Exp $
d11 1
a11 1
MLINKS= cc.1 gcc.1 cc.1 c++.1 cc.1 g++.1
@


1.8.4.2
log
@This 3rd mega-commit should hopefully bring us back to where we were.
I can get it to `make world' succesfully, anyway!
@
text
@d11 1
a11 1
MLINKS= cc.1 gcc.1
@


1.8.4.3
log
@$Id$ -> $FreeBSD$
@
text
@d2 1
a2 1
# $FreeBSD$
@


1.7
log
@Integrated GCC-2.6.1 -> GCC-2.6.2 changes.

Notice that the libgcc DOESN'T change number, because there are no
changes.

Also now the gnu2bmake stuff is synchronized again.

I commit this so that others can test too.

You might want to postpone any "make worlds" until tomorrow, to
avoid any problems I didn't see in the first pass.

Thanks to Bruce for rounding up our changes to gcc.
@
text
@d2 1
a2 1
# $Id$
d11 1
@


1.6
log
@Add LINKS to get gcc back.
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.5 1994/09/18 22:35:46 wollman Exp $
a4 1
.PATH:	${.CURDIR}/../cc_int
d6 1
a6 1
SRCS =	gcc.c obstack.c version.c
d8 3
a10 2

LINKS=  ${BINDIR}/cc ${BINDIR}/gcc
@


1.5
log
@Make GCC's back end be shared among all languages.  cc, c++, and cpp now
no longer link against the whole library, since they don't require much
from it, but just compile the few small modules they actually need static.

This should save a measurable amount of space; compare:

-r-xr-xr-x  1 bin   bin   155648 Sep 18 18:00 cc1*
-r-xr-xr-x  1 root  bin  1048576 Sep 18 17:33 cc1.noshae*

Of course, the library takes up a bit of space, but when you add in the
savings from the C++ compiler, you more than make up the difference:

-r--r--r--  1 bin  bin  1157344 Sep 18 18:27 /usr/lib/libcc_int.so.26.0
-r-xr-xr-x  1 bin  bin  491520 Sep 18 18:27 /usr/libexec/cc1plus*
@
text
@d2 1
a2 1
# $Id$
d9 2
@


1.4
log
@Add dependencies on libraries to DPADD.  Someday this should be done
automagically.  -lfoo has to be right to work, but ${LIBFO0} is too
easy to forget or misspell; nothing checks it and it should be
different for shared libraries.
@
text
@d2 1
a2 1
# $FreeBSD$
d5 1
d7 1
a7 1
SRCS =	gcc.c
a8 2
DPADD+=	${LIBCC_INT}
LDADD+=	-lcc_int
@


1.3
log
@Fixed up everything so that the version of gcc that we install from the
FreeBSD system sources installs itself as the standard cc and c++. I've
fixed c++ to call cc instead of gcc and removed all the symlinks
that get created to g** version of the binaries. This means that
you can install a second version of gcc that does use the g prefix
alongside the "system" version of gcc. The only conflict is libgcc
but since we install it as libcc.so.26 and nothing else is likely
to that should be ok.

Reviewed by:
Submitted by:
@
text
@d8 1
a8 2
LDDESTDIR+=	-L${.CURDIR}/../cc_int/obj
LDDESTDIR+=	-L${.CURDIR}/../cc_int
@


1.2
log
@Added -f to rm so install doesn't abort if the file doesn't exist.
Reviewed by:
Submitted by:
@
text
@a7 3
MLINKS+=cc.1 gcc.1
MLINKS+=cc.1 c++.1
MLINKS+=cc.1 g++.1
a10 3

afterinstall:
	cd $(DESTDIR)$(BINDIR) ; rm -f gcc ; ln -s cc gcc
@


1.1
log
@Initial revision
@
text
@d16 1
a16 1
	cd $(DESTDIR)$(BINDIR) ; rm gcc ; ln -s cc gcc
@


1.1.1.1
log
@Here comes the right import of gcc-2.6.0.
@
text
@@
