svn commit: r190605 - head: . contrib/gcc gnu/lib/csu
gnu/lib/libg2c gnu/lib/libgcc gnu/lib/libgcov gnu/lib/go...
Ed Schouten
ed at FreeBSD.org
Tue Mar 31 21:51:52 PDT 2009
Author: ed
Date: Wed Apr 1 04:45:12 2009
New Revision: 190605
URL: http://svn.freebsd.org/changeset/base/190605
Log:
Remove GCC in preparation of the Clang import.
Approved by: core
Tested by: rdivacky, db, brooks
Deleted:
head/contrib/gcc/
head/gnu/lib/csu/
head/gnu/lib/libg2c/
head/gnu/lib/libgcc/
head/gnu/lib/libgcov/
head/gnu/lib/libgomp/
head/gnu/lib/libobjc/
head/gnu/lib/libstdc++/
head/gnu/usr.bin/cc/
head/gnu/usr.bin/cc/
Modified:
head/Makefile.inc1
head/share/mk/bsd.cpu.mk
head/share/mk/bsd.libnames.mk
head/share/mk/bsd.sys.mk
Modified: Makefile.inc1
===================================================================
--- Makefile.inc1 (revision 190604)
+++ Makefile.inc1 (revision 190605)
@@ -1051,14 +1051,9 @@
${MAKE} -f Makefile.inc1 _prebuild_libs; \
${MAKE} -f Makefile.inc1 _generic_libs;
-#
-# static libgcc.a prerequisite for shared libc
-#
-_prereq_libs= gnu/lib/libgcc
-
# These dependencies are not automatically generated:
#
-# gnu/lib/csu, gnu/lib/libgcc, lib/csu and lib/libc must be built before
+# gnu/lib/csu, lib/csu and lib/libc must be built before
# all shared libraries for ELF.
#
_startup_libs= gnu/lib/csu
@@ -1067,11 +1062,8 @@
.else
_startup_libs+= lib/csu/${MACHINE_ARCH}
.endif
-_startup_libs+= gnu/lib/libgcc
_startup_libs+= lib/libc
-gnu/lib/libgcc__L: lib/libc__L
-
_prebuild_libs= ${_kerberos5_lib_libasn1} ${_kerberos5_lib_libkrb5} \
${_kerberos5_lib_libhx509} ${_kerberos5_lib_libroken} \
${_kerberos5_lib_libheimntlm} ${_kerberos5_lib_libgssapi_krb5} \
Modified: share/mk/bsd.cpu.mk
===================================================================
--- share/mk/bsd.cpu.mk (revision 190604)
+++ share/mk/bsd.cpu.mk (revision 190605)
@@ -60,83 +60,6 @@
. endif
. endif
-###############################################################################
-# Logic to set up correct gcc optimization flag. This must be included
-# after /etc/make.conf so it can react to the local value of CPUTYPE
-# defined therein. Consult:
-# http://gcc.gnu.org/onlinedocs/gcc/ARM-Options.html
-# http://gcc.gnu.org/onlinedocs/gcc/IA_002d64-Options.html
-# http://gcc.gnu.org/onlinedocs/gcc/RS_002f6000-and-PowerPC-Options.html
-# http://gcc.gnu.org/onlinedocs/gcc/MIPS-Options.html
-# http://gcc.gnu.org/onlinedocs/gcc/SPARC-Options.html
-# http://gcc.gnu.org/onlinedocs/gcc/i386-and-x86_002d64-Options.html
-
-. if ${MACHINE_ARCH} == "i386"
-. if ${CPUTYPE} == "crusoe"
-_CPUCFLAGS = -march=i686 -falign-functions=0 -falign-jumps=0 -falign-loops=0
-. elif ${CPUTYPE} == "k5"
-_CPUCFLAGS = -march=pentium
-. else
-_CPUCFLAGS = -march=${CPUTYPE}
-. endif # GCC on 'i386'
-. if ${CPUTYPE} == "crusoe"
-_ICC_CPUCFLAGS = -tpp6 -xiM
-. elif ${CPUTYPE} == "athlon-mp" || ${CPUTYPE} == "athlon-xp" || \
- ${CPUTYPE} == "athlon-4"
-_ICC_CPUCFLAGS = -tpp6 -xiMK
-. elif ${CPUTYPE} == "athlon-tbird" || ${CPUTYPE} == "athlon"
-_ICC_CPUCFLAGS = -tpp6 -xiM
-. elif ${CPUTYPE} == "k6-3" || ${CPUTYPE} == "k6-2" || ${CPUTYPE} == "k6"
-_ICC_CPUCFLAGS = -tpp6 -xi
-. elif ${CPUTYPE} == "k5"
-_ICC_CPUCFLAGS = -tpp5
-. elif ${CPUTYPE} == "pentium4" || ${CPUTYPE} == "pentium4m"
-_ICC_CPUCFLAGS = -tpp7 -xiMKW
-. elif ${CPUTYPE} == "pentium3" || ${CPUTYPE} == "pentium3m" || \
- ${CPUTYPE} == "pentium-m"
-_ICC_CPUCFLAGS = -tpp6 -xiMK
-. elif ${CPUTYPE} == "pentium2" || ${CPUTYPE} == "pentiumpro"
-_ICC_CPUCFLAGS = -tpp6 -xiM
-. elif ${CPUTYPE} == "pentium-mmx"
-_ICC_CPUCFLAGS = -tpp5 -xM
-. elif ${CPUTYPE} == "pentium"
-_ICC_CPUCFLAGS = -tpp5
-. else
-_ICC_CPUCFLAGS =
-. endif # ICC on 'i386'
-. elif ${MACHINE_ARCH} == "amd64"
-_CPUCFLAGS = -march=${CPUTYPE}
-. elif ${MACHINE_ARCH} == "arm"
-. if ${CPUTYPE} == "xscale"
-#XXX: gcc doesn't seem to like -mcpu=xscale, and dies while rebuilding itself
-#_CPUCFLAGS = -mcpu=xscale
-_CPUCFLAGS = -march=armv5te -D__XSCALE__
-. else
-_CPUCFLAGS = -mcpu=${CPUTYPE}
-. endif
-. elif ${MACHINE_ARCH} == "powerpc"
-. if ${CPUTYPE} == "e500"
-MACHINE_CPU = booke
-_CPUCFLAGS = -Wa,-me500 -msoft-float
-. else
-_CPUCFLAGS = -mcpu=${CPUTYPE}
-. endif
-. elif ${MACHINE_ARCH} == "mips"
-. if ${CPUTYPE} == "mips32"
-_CPUCFLAGS = -march=mips32
-. elif ${CPUTYPE} == "mips32r2"
-_CPUCFLAGS = -march=mips32r2
-. elif ${CPUTYPE} == "mips64"
-_CPUCFLAGS = -march=mips64
-. elif ${CPUTYPE} == "mips64r2"
-_CPUCFLAGS = -march=mips64r2
-. elif ${CPUTYPE} == "mips4kc"
-_CPUCFLAGS = -march=4kc
-. elif ${CPUTYPE} == "mips24kc"
-_CPUCFLAGS = -march=24kc
-. endif
-. endif
-
# Set up the list of CPU features based on the CPU type. This is an
# unordered list to make it easy for client makefiles to test for the
# presence of a CPU feature.
Modified: share/mk/bsd.libnames.mk
===================================================================
--- share/mk/bsd.libnames.mk (revision 190604)
+++ share/mk/bsd.libnames.mk (revision 190605)
@@ -50,8 +50,6 @@
LIBFORM?= ${DESTDIR}${LIBDIR}/libform.a
LIBFTPIO?= ${DESTDIR}${LIBDIR}/libftpio.a
LIBG2C?= ${DESTDIR}${LIBDIR}/libg2c.a
-LIBGCC?= ${DESTDIR}${LIBDIR}/libgcc.a
-LIBGCC_PIC?= ${DESTDIR}${LIBDIR}/libgcc_pic.a
LIBGEOM?= ${DESTDIR}${LIBDIR}/libgeom.a
LIBGNUREGEX?= ${DESTDIR}${LIBDIR}/libgnuregex.a
LIBGSSAPI?= ${DESTDIR}${LIBDIR}/libgssapi.a
Modified: share/mk/bsd.sys.mk
===================================================================
--- share/mk/bsd.sys.mk (revision 190604)
+++ share/mk/bsd.sys.mk (revision 190605)
@@ -4,9 +4,9 @@
# sources.
# Enable various levels of compiler warning checks. These may be
-# overridden (e.g. if using a non-gcc compiler) by defining NO_WARNS.
+# overridden by defining NO_WARNS.
-# for GCC: http://gcc.gnu.org/onlinedocs/gcc-3.0.4/gcc_3.html#IDX143
+# for LLVM: http://llvm.org/docs/ProgrammersManual.html
# the default is gnu99 for now
CSTD ?= gnu99
More information about the svn-src-all
mailing list